Add file extension classes to TinyMCE file links

With 'file-' prefix (thanks @Remo) and IE compatibility (reserved words) (thanks @mlocati)
Merge pull request #1854 from melat0nin/patch-7

Add file extension classes to TinyMCE file links