Modules can now be inherited and overridden.

+ Improved type registering for modules, every type assigned to a
module is registered.
+ Consistent form loading across modules.