Updated the ContentTypeRepository PerformGet method to map all property groups and types in a single query and added test to test the query, this reduces the lookup by about 30% but still lots of improvements to be made.
Fixes performance for Get(id) on ContentTypeRepository = much faster now, now to work on getall/query