Share tags2

Supersedes #11351.
Hm. I'm not even quite sure how `Tags` have related to the server container so far. With all those static `OCP\DB::` calls, I have a feeling that it didn't use injection much...