[wp7, wp8] adds phonegap.js during special event before the app is packa...

This addresses the issue where the cli installed version of the app does not fire the deviceready event because the file phonegap.js is not packaged.
Requires https://github.com/apache/cordova-cli/pull/35 to have been pulled/published in cordova-cli