Settings: Create new class for common synced setting and fix #176 updated, created and deleted have to be a long not an integer

See #176

Create class for common synced settings
Fixed: #177 Settings: updated, created and deleted have to be a long not an integer
Integrate new common synced setting class
Update test
Yes but you should have repaired your commit which removed Javadoc instead of adding it again in a new commit.