Implement support for standard Grunt-0.4 file mappings and options.

See https://github.com/gruntjs/grunt/wiki/Configuring-tasks#files and https://github.com/gruntjs/grunt/wiki/Configuring-tasks#options for details.
Retains backward compatibility with grammar/outputFile/exportVar configuration format.