Updated for Cordova 1.9

- Added an example.
Clean up warnings.
Changed exception output to be easily readable.

- This change makes the plugin require iOS 5.0 or higher.
Added comment about defining NDEBUG=1.
Merge pull request #1 from wcwynn/v1.9

Updated for Cordova 1.9