Adding RequireJS optimizer configuration for production

- [x] Add requireJS optimizer configuration
- [x] Get the optimizer to pass
- [x] Fix the `Router` implementation so that it handles application routes correctly

This PR contains changes required in order have the requireJS optimizer tool compile all JS into a single deliverable unit to the client.

This PR fixes #16