Added capability to show different attachment icon depending on MIME typ...

...e (fixes #369)