added amd, _class aliases to module.require. did some error checking for structureJS.module. Lastly structureJS.module can now take a config object that sets module 'type' (class, singletons, observer, etc
non-module files can now access modules using structureJS.require. it's just an alias for structureJS.module.require
added some stuff to the doc