Added support for isolated model history when adding primitives in cons
tool.

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