Split out BB10 from blackberry to new top-level platform blackberry10

- Added WebWorks framework, packager and tests
- Implemented create, build and run scripts
- Adds target script for configuring deployment targets
- Adds ability to automatically package cordova.js to local://chrome/cordova.js
Added debug token support to build/run

- Implemented debugtoken-helper module that contains token generation and deployment logic
- Updated build script to endorse debug token requirements
- Updated all console.log to logger and used localize

Reviewed by James Keshavarzi <jkeshavarzi@blackberry.com>
Tested by Bryan Higgins <bhiggins@blackberry.com>
Update create script to set up appId and bar file name
fix relative path issue, update invalid BAR filename  message

Reviewed by James Keshavarzi <jkeshavarzi@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Remove WebWorks extension loading and add Cordova plugin loading

- remove extensions from config.xml
- remove plugins.xml (plugins.json will be generated)
- plugins/default.js modified to ignore whitelisting and load plugins from chrome/plugin
- plugins/extensions.js no longer needed

Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Update build script to include plugins in output

-package all included plugins [White listing of features gone]
-access lists no longer support feature tags
-extmanager gone
-manifest.json dependency removed
-manifest.js no longer created
-global features gone
-cleaned up validation of plugins
-cleaned up other unused code
Add Device plugin

Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Add NetworkStatus plugin

Reviewed by Gord Tanner <gtanner@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
add plugin script for adding plugins, depends on plugman

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
add execute permission to plugman create.js after copying node_modules

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Renamed target.js to target due to help command issue

Reviewed by: Hasan Ahmad <haahmad@blackberry.com>
Tested by: Tracy Li <tli@blackberry.com>
Add unit tests for build

- Updated file-manager tests to remove packager-tests folder dependency
- Added logic to remove packager-tests temp folder after running

Reviewed By: Hasan Ahmad <haahmad@blackberry.com>
Tested By: Hasan Ahmad <haahmad@blackberry.com>
Added help for create script

Reviewed by: Hasan Ahmad <haahmad@blackberry.com>
Tested by: Tracy Li <tli@blackberry.com>
remove webworks-info

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Cordova plugin unit tests [Device, NetworkStatus]

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Fixed the runs script for child processes

Reviewed by Hasan Ahmad <haahmad@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
Added clean script to remove build folder

Reviewed by Hasan Ahmad <haahmad@blackberry.com>
Tested by Bryan Higgins <bhiggins@blackberry.com>
Initial work on cleaning up the exec chain, including the addition of a Battery plugin

Reviewed by Rosa Tse <rtse@blackberry.com>
Tested by Rosa Tse <rtse@blackberry.com>
Updating pluginResult to allow keeping callbacks while returning OK.

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
create integration tests

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>