Added a filtering layer in history change forwarder, where commands can
dynamically be replaced by other commands where approapriate. For
instance is it important to map the ids between contained models in
inhereter with contained models in inheretee.

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