CB-6421: Move tests from e2e to spec

Removing the duplicate tests first as a separate commit (for better history).
CB-6421: Move tests from e2e to spec

Part 2, move all the files and delete e2e dir.
For history of old overwritten tests in spec try
git log 5cf9d9064005ff7bc6205c05277169b929e52fb5
CB-6421: Move tests from e2e to spec - cli test

After e2e dir was merged into spec/ there were interferences between the e2e
tests and cli.spec.js. Jasmine runs all tests in a single process, therefore
process-global settings like event listener (un)registration can cause
interference between the tests.

github: close #159
CB-6312 Use "landscape" instead of "userLandscape" in AndroidManifest.xml
CB-5093: Add versionCode and CFBundleVersion during prepare

The version can be given as part of the <widget> tag.
Example:
<widget
	id="io.cordova.hellocordova" version="0.0.1"
	android-versionCode="7"
	ios-CFBundleVersion="3.3.3"
	...

If not specified in the widget tag, the following defaults will be used.
Assuming version = "MAJOR.MINOR.PATCH-whatever"
versionCode = PATCH + MINOR * 100 + MAJOR * 10000
CFBundleVersion = "MAJOR.MINOR.PATCH"

Not adding the "other" version for windows platforms at this stage.
It's is in
Properties/AssemblyInfo.cs which we currently don't modify.
[assembly: AssemblyVersion("1.0.0.0")]

For more info about the "other" versions see:
http://developer.android.com/tools/publishing/versioning.html
http://stackoverflow.com/questions/4933093/cfbundleversion-in-the-info-plist-upload-error
Add osx platform support