Add a configuration switch for enabled preview mimetypes

Backport of https://github.com/owncloud/core/pull/11211 to stable7
Merge branch 'stable7' into backport-11211

Conflicts:
	config/config.sample.php
Merge pull request #11245 from owncloud/backport-11211

Add a configuration switch for enabled preview mimetypes