store image file blob url reference in the client cache on upload and before save
catch any javascript errors
Merge pull request #885 from jay-hodgson/SWC-1248

SWC-1248: store image file blob url reference in the client cache on upload and before save (release-35)