added check so that the caller can tell if a promise has resolved
added the beginnings of a new amd loader
added more tests to the custom amd loader
added a context to the modules so that tests can override dependencies
added a test to make sure define dependencies can be overridden