bug fixes regarding changes in json files

- added default parameter to getXXX functions for getting some typed
value out of json config section
- thickness in site.json is now lowercase
- removed old Date parsing code in configuration and use the code in
date.h/cpp instead