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

...all Loop as part of make reset-gaia
You can replace this whole case with something like:

    var appOrigin;
    switch (loopServer) {
      case "stage":
        appOrigin = "loop.stage.mozaws.net";
        break;
      case "development":
        appOrigin = "loop-dev.stage.mozaws.net";
        break;
      case "production":
      default:
        appOrigin = "loop.services.mozilla.com";
        break;
    }
    config = config.replace(SERVER_DEF_VAL,
                            "server_url: 'https://'" + appOrigin + "'");
    manifest.origin = "app://" + appOrigin;
    grunt.config.set("origin", appOrigin);