Add config file Preferences implementation

This config file format was proposed on mailing list:
https://groups.google.com/d/msg/opentripplanner-dev/tk427ITino0/NARvCmyfKPoJ