updated documentation to new API

Updated the documentation to conform to the new API as in this https://github.com/aerogear/aerogear-pushplugin-cordova/pull/17