Added mode switcher based on filename extensions

This adds a new HollyTypes.print_extensions list. In cases where the mimetype
cannot be determined automatically, at least file extensions can provide
another way to specify to display print instead of hex.