Fixed issues with H2 database upgrades

Conflicts:
	src/main/java/org/traccar/web/shared/model/ApplicationSettings.java
	src/main/java/org/traccar/web/shared/model/Device.java
Fixed couple of issues with 'idle' detection
Merge branch 'dev' into mobile

Conflicts:
	src/main/java/org/traccar/web/shared/model/ApplicationSettings.java
	src/main/java/org/traccar/web/shared/model/Device.java