Move execution of Dynflow task outside of the transaction in AR hooks
Remove old logging code when triggering event

It should be replaced by general logging in foreman-tasks (not
implemented yet). For now, the best thing to investigate the issues
is through the Dynflow console.