[ABRT PATCH v2 2/5] factor out the problem querying functions from abrt-dbus to libabrt