Adding apache license headers and copyright
Support web-only plugins with no config changes

The lack of a <plugin> line on Android and BB10, and lack of
config_changes on iOS, was causing installation failures.
Fix error message that used an out-of-scope variable

Conflicts:
	platforms/ios.js