Fixes #122 Error while activationg ts file editor

* also fixed a bug in the implementation of NavigateToItem.equals() (it
was missing "containerKind")