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
Merged with final vitalidze/dev BEFORE merge with vitalidze/mobile