Changed the delegate to be the custom CDVAlertView class itself instead of the plugin. The plugin dies with the web view, so if the alert is displayed and the web view (and the plugin) dies in the mean time the delegate being the CDVAlertView avoids the application to crash.
Merge pull request #2 from pentateu/rebase_0_2_7

Changed the delegate to be the custom CDVAlertView class itself instead ...