Use grunt env and preprocess

- adjust our main.js depending on environment
- update npm start grunt task to run preprocess
Generate a main.js, and add a main_preprocess template
Merge pull request #26 from Lordnibbler/enhancement/24

Use grunt env and preprocess to generate backbone main.js