Changed RestorableModel to use collector for execution to support side
effects restoring of model.

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