qt: Unify AboutDialog and HelpMessageDialog

They share so much code and functionality that they may as well
be one class.