TODO: get rid of this shamelessly copied appmenumodel and libdbusmenuqt when it is available as a proper data engine.
