Fix `editor.selectedContainer`

`getSelectedNodes`, that we test here, is a simple wrapper for Rangy `range.getNodes()`.

Demonstrating the requirement for selection normalization, #618, some of these tests fail. As is described there, a lot of the tests for this will be a pain to write, if at all plausible.

This is why I only wrote a few. I'm not sure about writing more.