Loader update

Finally corrected the loader, but need to modify the  Module.getConfig()
method for children modules because it takes its parent's module config
instead of its own. (1st level modules are ok, it's only 2nd level and
deeper that get this bug)