Use QDebug for debug messages

There's no need to use a custom class for this, with Qt 5 you
can format debug messages the way you want by setting the
QT_MESSAGE_PATTERN environment varialble like this:

export QT_MESSAGE_PATTERN='%{appname}(%{pid})/%{category} %{function}: %{message}'