manager: Transaction as an object
This makes it obvious that transactions are short-lived. They are created in manager_add_job() and destroyed after the application of jobs. It also prepares for a split of the transaction code to a new source.
Showing with 225 additions and 188 deletions