Adds processing to the event resource api to handle file uploads, also adds js to handle file uploading. Refs #110