Implemented transitive dependency resolution from a requirejs perspective.

TODO: Get the locator to parse the pom.xml for transitive dependencies.