Adding basement for the direct download url

refs https://github.com/owncloud/core/issues/12286

@dragotin @danimo @guruz @ogoffart @karlitschek @icewind1991 THX
Why would there be a config for this? shouldn't the backend have enough info to determine if it can be used?