Allow for the specification of amd deps to load

This allows for RequireJS's short form require to be used in wrapped
code and will allow for modules produced with browserify to use external
modules when loaded with AMD.