Add NOTICE file
Add a LICENSE file
CB-6124 cordova plugin remove x fails when a plugin directory is missing
Switch to using plugman variable
Add emits and make code use early returns