Fix parser bug with implied close tags. Add some tests for incremental typing.
Check DOM structure as well as edits. Re-get newElement after updates.
Merge pull request #4698 from adobe/nj/incr-typing-tests

Fix parser bug with implied close tags. Add some tests for incremental typing