Fixed some bugs in database, completed translation of time zones
Various unit tests plus removed some obsolete classes
Merge origin/master