use hawk::calculate_mime_hash instead of plain std::hash<>
Type_factory: it's now possible to check for mime-type's category only