For #27 - Added MapType enumeration
For #27 - Added new 'mapType' property to user settings
For #27 - load saved map type
Added additional code to prevent bug identified in #22 and #23;  Duplicated pattern used for admin.
Updated the Hibernate plugins (mostly to support JPA 2.1); Added PostgreSQL driver to match traccar pom.xml.
Removed Hibernate-specific code and replace with JPA equivalents.
Made all id's use GenerationType.IDENTITY; Replaced wildcard imports with specifics.
Formally named unique and foreign keys.
Fixed typo in query
For #28 - updated equals and hashCode() calculation to a more stable version (taken from java.lang.Long class). Removed useless comments.
Merge branch 'dev' into change_default_map_type

Conflicts:
	src/main/java/org/traccar/web/shared/model/UserSettings.java
Fix #27 - updated features list
For #27 - fixed NPE for users without settings
Merge branch 'dev' into gpx_export