[Compiler] Remove class LibraryClass.
Instead we simply use one class Type. Type needs a flag IsInstantiable anyway and everywhere where we need LibraryClass, we must downcast from Type.