Select node

Beside some code cleanup and comments this adds a ``selectNode`` method to the editor that allows a single node selection option, this is quite useful to select non-container / non-text nodes like images.