dom-text-mapper:
 - When	returning text with getContentForRange(), use trim()
 - Collect info	about empty nodes, too.	Earlier, these were silently dropped,
   but it looks	like Magic Range likes to leave	them lying all around in the DOM,
   and also tends to reference them in ranges -	so we need to handle them.
   One less optimization.