Changed restoreHistory in model to use
ExPendingCommandFactory2.Util.sequence.

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