Upgrade to cordova 3.0 standards

Attempt to merge kuczek/PushPlugin into mine.