Tree: Unselect Items

Clicking on a selected tree item un-selects it.
This makes it possible to regain the original doit-context in the object inspector and fixes #141.