Add requirejs config

Added the configuration required by the latest webjars-locator to create the requirejs config. Also changed the destDir to use the artifact version instead of the upstream version.

Also dropped what seems to be an old mechanism of providing the requirejs configuration. It doesn't work anymore for webjars-locator but if it's still required by something else I can modify the pull request to drop that commit.