Fix #6 by rewriting dom2sax as a "treeadapter"

Tree adapters are the new cool thing. Based on the adapters in test_treewalker.py, they take a treewalker and adapt a stream of tokens to something else. The adapters from test_treewalker.py should be moved over to be treeadapters eventually.