Make $GetRuntimeType less broken.
Handle recursive base class references by disabling lazy constructors for types that contain them.
Fix some hasOwnProperty uses in bootstrap.