Port away from KMimeType to QMime* and reorder headers

Authored by ltoscano on Sep 3 2017, 1:58 PM.