Assign the type name explicitly instead of doing it inside the registerXX method to fix #186
Removed the string-based export (registerClass/registerInterface) and replaced with explicit export statements and initialization (initClass/initInterface). This will (hopefully) improve interoperability with Closure (#90) and other external minifiers.