Grunt build process sorted out.

Previous problem:
- The build process was not working properly not generating all the files.
- Grunt not making safe javascript minify for angularjs.
- Problems with slash/backslash on windows ENV.

Bugs left to do:
The index.html template is duplicating the JS includes:
        <script src="src/common/controllers/main.js"></script>
        <script src="src/common\controllers\main.js"></script>

On windows the index.html template seems to have some unix newline when generated. So, it makes the grunt build process not replace the JS includes for the minified ones. 

For example: If you open the index.html with Sublime Text and save the file again without changes the grunt build will work perfectly. (Might be some unix thing in the file)