This PR adds a function to fetch events containing a userID. This is to be able to offer this functionality for the GDPR requirement.
Signed-off-by: jkoberg <jkoberg@owncloud.com>