Change output location of webplatform.js and i18n.js to the app root

Reviewed by: Jeffrey Heitfetz <jheifetz@rim.com>
Tested by: Erik Johnson <erjohnson@rim.com>
Fixes scoping issue with spyOn on fs.existsSync

Reviewed by: Chris Del Col <cdelcol@rim.com>
Tested by: Hasan Ahmad <haahmad@rim.com>
Checks for the existance of config.xml before opening

Reviewed By: Nukul Bhasin <nbhasin@rim.com>
Tested By: Hasan Ahmad <haahmad@rim.com>
Updated packager to use zygote process instead of weblauncher

Reviewed by: James Keshavarzi <jkeshavarzi@rim.com>
Tested by: Igor Shneur <ishneur@rim.com>
Merge 'master' into next to complete the circle merge
Merge branch 'master' into next to complete circle merge
Handle system permissions and pass through any attributes specified for a permission (i.e. system=true).

Reviewed By: Rosa Tse <rtse@rim.com>
tested By: Rowell Cruz <rcruz@rim.com>
Updating Framework hash to blackberry-webworks/BB10-WebWorks-Framework@fb9702d
Updating build scripts to ensure we don't copy dependencies/tools from bbndk intallation for CI/SCM builds

Reviewed By: Erik Johnson <erjohnson@rim.com>
tested By: Erik Johnson <erjohnson@rim.com>
Merges the latest Readme changes.
Updates the framework hash to point to the next branch
package versioned webworks.js from Framework/clientFiles as chrome/webworks.js

Implements feature blackberry/BB10-WebWorks-Framework#287

Reviewed By: Nukul Bhaisn <nbhasin@rim.com>
tested By: Tracy Li <tli@rim.com>
Updating README.md with latest changes made to build process …
-cmake removed
-webplatform clientFiles changed

Reviewed By: Eric Pearson <epearson@rim.com>
Changes the packager to accept the folder location instead of zip and
introduces .bbwpignore.

Implements issue blackberry/BB10-Webworks-Packager#200
It introduces the concept of .bbwpignore to make sure that all the files
are filtered and not bundled with the app.

The spec for .bbwpignore follows that of .gitignore without support for
negations of patterns.
Key points from the spec are -
1. A leading slash matches the beginning of the pathname. For example,
"/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".
2. If the pattern does not contain a slash /, it will be treated as a
global pattern and *.c will match all files in root and subdirectories.
3. Directories must end with /
4. A line starting with # serves as a comment.
5. Blank lines are ignored.
6. ! which negates the pattern is NOT SUPPORTED
 A full spec for .gitignore can be found here -
http://www.kernel.org/pub/software/scm/git/docs/gitignore.html

Wrench has been modified to allow for a filter in the
copyDirSyncRecursive method to allow filtering on files.
Wrench code has been copied from -
https://github.com/ryanmcgrath/wrench-js
and then modified and placed in third_party/wrench folder where all
modifications are clearly marked.

Windows: If you use quotes in your path you provide on windows it must not end with a / because
it causes node to process the to think it is escaping the end " instead
of thinking it as the end of the string.
Take away is that you should use
bbwp "x/y/z" and not bbwp "x/y/z/"
This might get fixed in future version of node.js. Currently tested
against 0.6.10.

Reviewed By: James Keshavarzi <jkeshavarzi@rim.com>
tested By: Tracy Li <tli@rim.com>
Updated Framework submodule.
Updating Framework submodule for SCM build
Updating framework hash.
Updating the location of WP as per new on device version, makes it optional in setup
and will bundle resources that are included.

Reviewed By: Nukul Bhasin <nbhasin@rim.com>
tested By: Nukul Bhasin <nbhasin@rim.com>
Updating framework hash.
Adding new rim:header attribute to the packager parsing

Fixes Issue: blackberry/BB10-WebWorks-Framework#333