Fix the following item "RavenDB-1298 Using OfType<> in Index Map generates Where($type = '') but uses different type format" by using the exact type name that json.net does, which is the AssemblyQualifiedName without the version information.
Remove debug code
We should not allow doing a implicitly projection, as this will make the code track the projected index and try to persist its changed, which will override the original object. We should throw for this case with an indication to the user to use .AsProjection<DtoObject>()