Started work on local/fine-grained model history.

Extended interface of Branch to support registration of affected models
during the forward execution of a transaction.

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