SAKULI-38 centralize functions of db and gearman to result service