Added method getLogSize in model to support querying the size of a
model's log.

Added methods forward and rewind in model support forwarding and
rewinding according to a model's log and a specific number steps.

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