Added searchByTags to view, storage and cache

Added searchByTags to view, storage and cache.

This required adding the user parameter in the tag manager as well.

Please review @LukasReschke @icewind1991 @nickvergessen 

Supersedes https://github.com/owncloud/core/pull/12617 due to Jenkinitis
Btw, you can also inject it into this method, if it is the only one needing it