Updated the plugin and example to Cordova 2.3.

Reviewer: @aogilvie