PhoneGap / Cordova plugin for iOS to save the contents of an HTML canvas to the device's Photo Library