Default file link opens it in a view mode if available

This is a very basic implementation of a view mode discussed in #65. Please also see #284.