Added interface Command to replace the interface Transaction from
Prevayler.

Replace the usages of Transaction with Command, to gain more control
about the transaction interface.

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