Added support for background and foreground callbacks in cordova-2.3+
Merge pull request #15 from yjukaku/master

Added support for background/foreground callbacks in Cordova 2.3+ - Closing issue #14