Entity REST API + various fixes/improvements

- Entity REST API + tests
- Remove old REST API
- Fix bug: Security decorators do not decorate findById
- Security decorators throw DatabaseAccessException instead of some methods returning a value and some methods throwing a DatabaseException
- Set generate tests to false in all apps