Concatenate string in SQL instead of PHP
use doctrine to construct concat expression
cleanup and actually execute the query
Merge pull request #4799 from owncloud/tune_legacy_cache_webdav_properties_prefixing_master

Concatenate string in SQL instead of PHP