Fix parsing of periods from config file in selfstats.

Period can be given without space between value and unit now.
Fix parsing of dates from config file in selfstats.
Merge branch 'fix_config_load'