Added method logBeforeFor to interface TransactionHandler. This method
is to be used setting up execution related contexts just before
execution of commands. E.g. creating or retrieving a specific scope for
a pur command.
Added dummy implementations of this method in each implementation of
TransactionHandler.

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