Fixes mime type in PHP 5.3 and greater

This fixes [issue 3](https://github.com/remie/richtext_redactor/issues/3).