Manual tests fixed

Removing inline scripts from mobile-spec to make it compatible with FFOS priveleged type apps (i.e. using contacts)

added addListenerToClass function which is used to connect buttons with test functions.

Please check it on all platforms and r+ if working.

moved test initialization to JS file (for DRY and privileged apps compatibility)
Merge branch 'master' into ffos_privileged_compatible
Manual tests fixed

Removing inline scripts from mobile-spec to make it compatible with FFOS priveleged type apps (i.e. using contacts)

added addListenerToClass function which is used to connect buttons with test functions.

Please check it on all platforms and r+ if working.

moved test initialization to JS file (for DRY and privileged apps compatibility)
Merge branch 'master' into ffos_privileged_compatible
Merge branch 'ffos_privileged_compatible' of github.com:zalun/cordova-mobile-spec into ffos_privileged_compatible
CB-6780 Removed space from platform_layout for wp8

This closes #65
CB-6791 Add license to CONTRIBUTING.md
CB-6791 Add missing licenses
CB-6822 plugman compatible with windows

When createmobilespec module is used and the --plugman argument is
present, it will determine if the development platform is windows to add
node as part of the command.

process.argv[0] it will retrieve the node from the current process, and
it will cover the scenario where the nodejs installation it has a custom
path or it's not present in system PATH environmental variable.

If:
/path/to/nodejs/node createmobilespec.js [args]
process.argv[0] it will retrieve: /path/to/nodejs/node
to invoke plugman main.js file.

This closes #66
Merge branch 'ffos_privileged_compatible'

Conflicts:
	battery/index.html
CB-6922: Test that metadata.modificationTime is a valid date
CB-6928: Add 304 response test
Fix failing battery tests. Add a dummy battery listener to avoid updates in the middle of a test case
createmobilespec: use the new "platform add path/to/dir" instead of .cordova/config.json
Add option to specify output directory for createmobilespec.js
android: Fix up double-callback of Echo plugin.
CB-5988 Add unit test for android bridge being blocked for data: URLs
Move mobilespec into www/ so as to not include non-app files in the app
android: Fix bridge test failure due to "" vs null
Adding new-style test to mobile-spec