Fixed typo in new namespace test for domscan, use ids when possible in docinfo._heads
Fix _id inconsistency in domscan
Made TOC construction not rely on docinfo .elt field
Switched scan tracing to numeric value, added toJSON method, and removed .elt field pointing into DOM
Merge branch 'master' into cachingcodex