Model loader: remove LazyClass.isTopLevelObject since we can use isAnonymous for that

Exposed by #1642: runtime model loader tests, because even member objects don't have parameters
Added runtime model loader tests #1642

They are now run as part of the compiler model loader tests