Changed all repository tests to ensure they are not testing with cache enabled... now to fix the problems :(
Fixes pretty big issue with MediaType's not implementing the same IsDirty property check rules as ContentType when they should have shared the same rules. After removing caching on the unit tests, this bug became known.