model loader: hack to fix #1085: do not attempt to use isRaw on things we're compiling

because it triggers a bug
ReflectionType: return a declared class even for parameterised types
Test for #1085: Incremental build breaks because model loader tries to load lazy model instead of compiled model
MiscTest: added disabled test to help debug incremental build bugs in the future