Updates for Cordova/PhoneGap's 2.0 plugins

Modifying to use Cordova/PhoneGap's 2.0+ [require/define functionality used for plugins](http://simonmacdonald.blogspot.ca/2012/08/so-you-wanna-write-phonegap-200-android.html)