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.
Code style (indentation)
CB-5183 WP7/8 custom_path is not correctly resolved by CLI
[CB-4976] Don't symlink into ~/.cordova/lib for local libs

If the user specifies a local URI in his config.json, we don't want to
symlink that lib into $HOME/.cordova/lib, just use it in-place as the
source of the platform.

lazy_load calls now return a promise for the path to the target, and all
logic in other modules that was recomputing the path into the global lib
directory has been fixed to just use that return value. This is more
flexible and supports this feature nicely.
CB:5187 on node  windows broken compile, emulate, run
CB-5187: remove unused var os_platform
increased version of plugman to 0.14.0 in package.json
[CB-5197] Updated version and RELEASENOTES.md for release 3.1.0-0.2.0
[CB-5220] "An error occurred" is missing an "A" ...
[CB-5220] "An error occurred" is missing an "A" ...
[CB-4994] Update xcode dependency to handle Xcode 5 capabilities.
Merge branch 'CB-5183' of https://github.com/sgrebnov/cordova-cli
readability + code quality in wp7+8 parsers
merging
serve: provide basic entry point

Index:
* List included platforms (and available platforms)
* List included plugins
* List package name, id, version

* Provide directory redirects
* Implement directory browsing
serve: Fix doRoot() not being called & remove duplicated table.
Cleaning up wp7+8 parsers' use of promises. Fix tests.
[CB-5143] Locate the actual Android app .java file much more carefully.
[CB-4866] Execute hooks in ascending order of any leading numbers

Fall back to alphabetical searches if they don't start with numbers.

Includes tests for the new ordering behavior (which sorts 1.sh before
07.sh.