Add getTagsForObjects in ITags

Returns the list of tags that are set on the given object ids.

Required for the "favorites/tags" task (#2368)  but also a nice addition to the API.
See https://github.com/owncloud/core/pull/12360/files#diff-471be045dd1eb605d9a1197b9ba90560R52

Please review @ockham @LukasReschke @icewind1991 @DeepDiver1975 
If called multiple times in a row, having a prepared statement will make subsequent calls faster. (the prepared statements are cached somewhere inside our DB wrappers)

But as you say, not sure if it's worth the hassle.