Arrange the position of grids after a span remove.
Refatoring
1. Extract a function as create.
2. Extract a function as andMoveGrid.
3. Refactor the getRangeToInsertSpanTag.
Merge pull request #76 from pubannotation/bugfix_revert_span_creation_over_line

Bugfix revert span creation over line