Fix for updating <span> boundaries during user editing

This partially (and alas imperfectly) implements the third stage
described in http://jira.palaso.org/issues/browse/WS-34799.  Of course, perfection is probably unobtainable.
good point.  I've added comments to each of the test methods.