(bug 42708) Show image upload preview when using Android gallery

Android browser doesn't like data URLs without mimetypes.

Change-Id: Ic2f71953a23f90112ca2db4d092ec8c7da789379
Merge "(bug 42708) Show image upload preview when using Android gallery"