Restapi/event

based on:
https://sat.inso.tuwien.ac.at/redmine/projects/qse-ase-ws14-11/wiki/Rest_API_Description

Not implented from there:
DELETE /event - deletes an event (useful for debugging - not sure if users have access to this)
=> use Mongo DB for this
PUT /event - updates the event information
=> we deceided in a meeting that we do not change the settings during an event, therefor no put

Additionally implemented:
GET /event/active - lists all active events
PUT /event/current/end - ends the current event

this makes the function return 500 if an event cannot be found - it should return 404

from jsonapi.org:

404 Not Found

A server should return 404 Not Found when processing a request to modify or delete a resource or relationship that does not exist.