Add pre_package event to wp8 project

WP7 project was already done in commit: bd2c667e947b3fda05541e0d1a124d23df60a132
Wait for the pre_package event to finish, or the update_csproj function might give unexpected results.
Fixes both the wp7 and wp8 parser.
Update "cordova serve" to work with promises refactoring
Code style (indentation)
Make cordova serve ignore dot files.
Log requests in cordova serve
[CB-4621] Updating run and emulate commands to always provide default options
CB-5032: clarify the help text
[CB-4774] Updated prepare flow to make platform config.xml a build
output
  - Adds a new method to manually merge two config.xml files
begin firefoxos tests
CB-4957: added fix for FFOS
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-cli
added temp config path for ffos, fixed wp8 config_xml function
added myself as a contributor, CB-5042 added info on windows8
added not about platform+os restrictions
CB-5067: added exception incase no platform level config.xml or defaults.xml exisit

Also updated cli to use 3.1.0 instead of 3.1.0-rc1
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-cli
updated to a version greater than our latest version on npm
cordova help should return a Q. fixes CB-5070
CB-5066: merged in windows 8 support into master from cordova-3.1.x