code cleanup in get_date() to get rid of global variables
several changes due to the use of date_t type (today and slctd_day moved to
static variables in calendar.c)
get_date() recoded and moved to calendar_set_current_date()
layout variable added to conf_t type
bugfix: layout is now properly restored (thanks Jose for reporting this
bug)
bugfix: apad width is now correctly updated when changing layout
io_export_events(), io_export_recur_events() and io_export_recur_apoints()
created
io_recur_type() and io_export_valarm() created
progress_bar_t type created
progress_bar() updated to display a bar when exporting data