fixes image gallery
displays file links for uploaded docs in edit form and enables removing docs
brings back commented out code for removing images and sets _delete field for newly added docs
shows loading sign while uploading file
handles error with files being uploaded for first time
Merge branch 'develop'