Add file extension classes to TinyMCE file links

Automatically apply file-type classes, for e.g. MIME icons. Better than manually applying via the buggy typography.css.