Spock for CalendarEvent functional test

I re-implement the test cases for calendar events using Geb and Spock
and fix some bugs.