Fixing destruction of doctypedecl
Fix 3 test
Merge branch 'master' into transform-polymorph

Conflicts:
	document.cpp