[ticket/11148] Use mimetype guesser for guessing attachment mimetype

This is a replacement for https://github.com/phpbb/phpbb/pull/1397

With this we'll use the newly added mimetype guesser when uploading attachments, even when we're not using plupload.

Ticket: http://tracker.phpbb.com/browse/PHPBB3-11148