Rename Option() calls into HasOption() calls.
Make Document() getter more robust.
Add HasAttr() to abstractNode, with test.