Bug 1105869 -  Add to grunt the generation of the files required to inst...

...all Loop as part of make reset-gaia
var outputDir = (process.env.GAIA_OUTOFTREE_DIR || "./deliver") + "/" +
                          grunt.config.get('origin');
var metadataF = outputDir + "/metadata.json";