Extended TransactionHandler with getScope method and added first
revision implementations. The getScope method is to be used for sharing
an execution scope among multiple commands, i.e. for sharing output of
commands with multiple other commands - rather than just a single
command, which is what is only possible right now.

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