Replaced usages of beginTransaction, commitTransaction, and
rollbackTransaction with PrevayerServiceConnection in edit tool.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>