Cordova-CLI 3.0 support

This pull request replaces the previous pull request that I had open:  https://github.com/phonegap-build/PushPlugin/pull/39

The PR is exactly the same, except that I've moved it into a branch of my fork. I simply need to free up my master branch for other changes that should not be pulled back into the official fork.