BACKOG-855 corrected comments
BACKLOG-855 Added missing disable consent property
BACKLOG-855 added missing throws in docblock
BACKLOG-855 Metadata and disable consent are now separately so caching is usable outside REST also
BACKLOG-855 Added caching for entity prettyname
BACKLOG-855 Newest revision is now only queried in one place
BACKLOG-855 when fetching an entity revision is now passed, this prevents another query to get revision from being executed