Added base attribute to index.hrml to fix issue with url mapping for requirejs and backbone. Refactored gruntfile.js considerably.