Implement create_* callbacks and add treebuilder.lua
Implement create_text callback
Implement C-side set_quirks_mode and change_encoding callbacks