Minor project reorganization.

* RequireJS config is now in app/config.
* App config JSON is now CommonJS (loaded via RequireJS plugin) which allows the config to be built dynamically.
* Reworked index.js to reference modified config data structure.