Update for Cordova 2.8.0 compatibility

This patch updates the AppVersion plugin to use the interfaces and plugin registration style introduced in Cordova 2.8, as described [here]([https://github.com/apache/cordova-ios/blob/master/guides/Cordova%20Plugin%20Upgrade%20Guide.md).