Merge pull request #78 from haavardlian/comparison

Comparison
Made the Toasts run on UI thread...
Fixed tip layout
Started to add syncing
Added sync resource to enviorment
PathParams frw
Database url
Database config
Changes
Database
More server chnages
Changed return code and path
Added PUT for device sync
Changes query
Changes query
Changes query
Changes query
Changes query
Changes query
Small typo