Added HTML5 video tag
Cleaned up mime <-> file extension guessing
Show attachment download button only if supported