Added ExceptionHandler to deal with thrown exceptions
Minor changes to remove eclipse warnings
Made Event.findById throw an ItemNotFoundException if it can't find a result
Reformatted file to eclipse standard layout
Added semi-colon (eclipse warning)
Reformatted files for std eclipse layout
Got rid of warnings
Reordered methods to put those with the same url next to each other
Always produce JSON (ideally we'd go and work out what kind of data the api call was producing)
Added a call to commit the transaction.  This ensures that any errors occur here rather than when the filter terminates.
Added an error handler for the form submission