refactor(build): Extract `require_config.js` from the configuration contents of both the main app and the unit tests.

* Only configure requirejs in one place.
* Works great with production builds.

fixes #1245