Refactor out finding of CE focusedNodes

getFocusedNode now takes an arbitrary range.

Change-Id: Ie59239ec5fa3493dfc8f6a6b200a9a5405a96c66
Merge "Refactor out finding of CE focusedNodes"