This commit is the final piece of a series that allows us to
serialize CachedProjectConfig. After this commit, we can make
ProjectCache a serialized cache, which speeds up cold-starts.
Entities are moved to com.gerrit.entities where needed.
Change-Id: I501e68ae44d4bdfe0ecc6d000c4eb5644d0bec4c