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 last two commits of vitalidze/dev branch BEFORE the merge with vitalidze/mobile