Added __getitem__ method.
__sub__ now returns CmdPathElem instance.