amd detection fix and jquery test
Merge branch 'master' of github.com:jspm/jspm-loader