Set image src/alt during drag/drop uploading

Previously, the image src and alt attributes were only updated when
adding an image by selecting it. Now they are updated during drag/drop
as well.
Merge pull request #752 from hdgarrood/fix-drag-and-drop

Set image src/alt during drag/drop uploading