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.