Merge pull request #3 from wcwynn/v2.3

Updated the plugin and example to Cordova 2.3.
updated example project index and migrated js code to plugin js file from index
auto save settings in localstorage