events: fixing issue where not all associations were correctly written during event creation due to a mysql deadlock.

trello: https://trello.com/c/cOa9EpLf/677-veranstaltungen
events: adding authorization info to events details page for users that can update the event.
events: limiting the number of displayed upcoming events. Fixing order of events on groups#show.