Change display of attachments in directory list

Uses background image for "has-attachment" icon and adds icons for
attachment list (only visible at larger display sizes).