Moved github-related keys from require-config.js to package.json.

I tried to use the "repository" key in package.json described here:

https://npmjs.org/doc/json.html#repository

The use of 'repository.defaultBranch' is my own invention, though,
which is hopefully acceptable.