Added support for cordova 3, added png mimetype

Hello, your plugin is nice. But, it doesn't have support for cordova 3, so... I added it.

Greetings.