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-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
Fix failing battery tests. Add a dummy battery listener to avoid updates in the middle of a test case