Adds tags for events

This commit adds the possibility to add tags to an event

tags can be either given as an array or a comma-separted string.