Fixed compatibility with Cordova 2.8. 

The old format of this exec call has been removed (deprecated since 2.1).
Merge pull request #6 from hessius/master

Fixed compatibility with Cordova 2.7.0