Bugfix in date formatting

Bugfix: Strings with dates (with time systems) were not correctly parsed because the time system was not recognised and used.
Added methods in NSDate category to create a date from a string.
Removed logging.