Added r.js build and restructured project.

* Added an app.build.js.
* Migrated code into the 'app' directory to help with the build process.