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
Ok will do... at least it will spare us of the ugly `getUserSession`