Determine default application using QMimeType

Qt 5 provides support for mimetypes, use its new API to determine the
default application for Qt 5 builds.
Retrieve desktop entry icons using QIcon

QIcon implementation on Qt 5 is fine, use it instead of the one in this
repository.
Find desktop entries and default application using QStandardPaths

Use QStandardPaths instead of custom implementation.