MOCCACAL-49: Adding event with apostrophe in title fails to display any events

* use proper jsontool to generate the json response
* while doing so use proper groovy json serializer in the groovy part, too
MOCCACAL-53: Adding calendars with apostrophe in the name does not work

Fixed by generous application of javascript escapes and using variables
for the hql query