Move app module creation from main.js to app.js

Don't merge ! 

This does not work in `?debug` mode: `main.js` is loaded before `app.js`: the module is used before created
You can use `var appModule = angular.module('app')` to get a reference to the application module. And in this way the order of files in the build is not important.