Merge pull request #6 from girliemac/coremob
minimal fix to make upload work with w3c-gallery app
when Blob fails as constructor, try with BlobBuilder (at least for Chrome on Android's sake)
track photo to which "upload" button is associated
rename getPhotoFromDB to listPhotosFromDB for greater clarity
define CoreMobCameraiDB::getPhotoFromDB to retrieve a single photo from database
define and use READ_ONLY for transactions where useful
implement upload of previously stored photos
convert data url to blob when the stored photo is a data url (should probably moved to iDB directly)
Merge pull request #7 from dontcallmedom/master
adding .gitignore
Fixed #8 - added a callback for canvas.toBlob async
UX change for Upload

If iDB is supported, the Upload button is not shown with Save button because it breaks the UX flow. Users still can upload from Gallery view.