Convert RepoType to be array backed not DB backed

Upgrade GitCake
Add RepoType Tests