Added parent task engine mechanism similar to the index.
Added push, pop and merge operations.
Added primitives for push, pop and merge.
Added tests for push, pop and merge, fixed several bugs using them.
Merge branch 'master' into taskengine-stack
Merge branch 'master' into taskengine-stack
Merge branch 'taskengine-stack'