[MimeDetection] refactoring : by @wichert replace [:n] by startwith()
Merge pull request #152 from dhardy92/refactor_mimedetection

[MimeDetection] refactoring mime detection