Merge pull request #296 from timwindsor/PluginRegistration

Updates for Cordova registration