use less hacky solution for image upload in event tool
Created by: gingeneer
it would be nice to use amiv-js-client to upload pictures and data, but they have to support FormData first, so at the moment I do ajax PATCH request to add the images and documents after the creation of the entity. would be much nicer using the library.