dom: add simple query engine and wrapper for NodeLists;