Phonegap version changes

Compatibility changes to ToasPlugin.java to work with phonegap 2.7.0