Editor: Fix exception when sel.anchorNode doesn't exist.

This only seems to affect the WebKit used in certain versions of
Phantom, but it was causing test failures.
Build editor-br.