implement undo and redo for adding and deleting variables of Command. Add constant that specifieds max call stack.
Defect: VIS-56
Authored by: namhm 2014-08-24
Parent: [r128]
Child: [r130]