Returns tags through WebDAV

Fixes https://github.com/owncloud/core/issues/12856

I figured out how to make it return a list of tags :smile: 

@DeepDiver1975 @dragotin @icewind1991 

- [x] only select/return tags when explicitly requested
- [x] separate tags from favorite ?
- [x] unit tests
Isn't this a PHP 5.6 thing?