bump deps
code style
main.js => index.js
Fix `#determineAppname()` to always find a name
Feature Base#gruntfile expose a gruntfile-editor API

That allow multiple generator from adding configurations to the
gruntfile.js without creating conflicts when writing the file.