#396 Removed obsolete cache dirs
#396 Removed obsolete test file
#396 Fixed showing of revision metadata etc.
#396 Fixed autoincrement for revision
#396 Fixed getting logged in username
#396 Fixed loading user entity for logged in user
#396 Code format
#396 Fixed catching no result exception in service
#396 Code format
#396 Merged two parts of code which both did the same (getting the logged in user)