InternalMap: fixed bogus type infos
metamodel: fix for #303
Test for #303: metamodel bug
metamodel: renamed Member.SubType to Member.Container to avoid confusion
metamodel: renamed Member.declaringClassOrInterface to declaringType to reflect reality

Also fixed a bunch of bogus type infos