Add a configuration switch for enabled preview mimetypes

Do not merge - requires discussion.

@MTRichards @karlitschek @craigpg See mail. THX.
yes. static configuration should be totally fine in this case because the code implementation is also static ;-)