[SERVINF-159] Do not inline TIFF images.

Web browsers cannot show them by default. Image types that are supported by all
of the five main browsers are jpeg, png, gif and bmp [1] so just show them.

[1] http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support
[SERVINF-160] Display mime types properly.

Sometimes dashes (-) were being removed.