dom/text: fix #inspect
dom/document: add title handling
spec: add a bunch of specs