CB-7219: initial work for cordova.js platformVersion
CB-7219 prepare-browserify now supports commitId and platformVersion for cordovajs
CB-7219 prepare-browserify computes commitId and platformVersion
CB-7219: initial work for cordova.js platformVersion
CB-7219 prepare-browserify now supports commitId and platformVersion for cordovajs
Merge branch 'cb-7219' of https://git-wip-us.apache.org/repos/asf/cordova-lib into cb-7219
computeCommitId for browserify workflow fixed to handle cli and non cli workflows:q
removed console.logs
CB-7572 Serve - respond with 304 when resource not modified
Merge branch 'master' into cb-7219
CB-6481 Added unified hooks support for cordova app and plugins

* Hooks can be defined in .cordova/hooks/hook_type, hooks/hook_type directories, config.xml and plugins/.../plugin.xml
* Javascript hooks retrieved from config.xml and plugins/.../plugin.xml will be run via new module loader
* Introduced before_plugin_install, after_plugin_install and before_plugin_uninstall hooks
CB-6481 Updated hooks documentation
CB-6481 Docs: deprecated .cordova/hooks + other minor updates
CB-6481 Replaced CordovaError throwings with Error per @kamrik review
Extracted prepareOptions Hooker method
CB-6481 Addressed community review notes:
Removed commonModules from Context
Renamed Hooker and subclasses to HooksRunner and scriptsFinder
Moved scriptsRunner code into HooksRunner
CB-6481 Updated docs
CB-6481 Updated tests
CB-6481 Fixed HooksRunner and tests
Avoided issue with parallel tests running
Added checks for handling mocked config.xml and package.json in HooksRunner and scriptsFinder
Addressed jshint issues
Renamed ScriptsFinder to scriptsFinder
CB-6481 Fixed tests - removed output

Avoided tests output - mocked hooker fire in windows8 and wp8 tests
Added pwd check missing case to isCordova
Removed exception swallowing in case config.xml is not found in hooks/scriptFinder
CB-6481 Context opts should copy not reference