Make hatchet account plugin Qt5 compatible

Compiles and loads with Qt5, but I could not test functionality.

(QWeakPointers should only be used with QSharedPointers as their counterpart, not if GC is done via object hierachies)