[Fix bug 761559] Multiple fixes

* Change {start,end}_date to {start,end}
* Add sequence to ical events and to event mode
* Add unique and permanent IDs in ical events
* Fix tests
* Fix iCAL search term order in client side
* Fix case in regex constants
* Model migrations