CB-8674: Creates a 'cordova.env' object, and then on Windows hangs the
activation arguments off of cordova.env.args.

This should allow plugins to capture the activation arguments even though
the 'activated' event fires before plugins load on Windows.

This closes #108
diff --git a/src/cordova.js b/src/cordova.js
index 1ef3478..7e4377c 100644
--- a/src/cordova.js
+++ b/src/cordova.js
@@ -101,6 +101,7 @@
     version:PLATFORM_VERSION_BUILD_LABEL,
     platformVersion:PLATFORM_VERSION_BUILD_LABEL,
     platformId:platform.id,
+    env:{},
     /**
      * Methods to add/remove your own addEventListener hijacking on document + window.
      */
diff --git a/src/windows/platform.js b/src/windows/platform.js
index 2807505..be72cd3 100644
--- a/src/windows/platform.js
+++ b/src/windows/platform.js
@@ -41,9 +41,15 @@
             var resumingHandler = function resumingHandler() {
                 cordova.fireDocumentEvent('resume',null,true);
             };
+            
+            var activationHandler = function activationHandler(e) {
+                cordova.env = (cordova.env || { });
+                cordova.env.args = e.detail;
+            };
 
             app.addEventListener("checkpoint", checkpointHandler);
             Windows.UI.WebUI.WebUIApplication.addEventListener("resuming", resumingHandler, false);
+            app.addEventListener('activated', activationHandler);
             app.start();
         };