Formalize dependencies
Fix .gitignore file

Do not ignore environment-specific files. Ignore external development
dependencies.
Upgrade to Grunt 0.4
Generalize test procedure