Incorporated the consideration of Play's application.context property.
Merge pull request #8 from huntc/application-context

require.js does not use application.context property