Refactor edit event view to use class based view

With a view to updating to support more than one media item per event.