findNode: stop searching at document if no `to` argument given
fix typo
move ./t to test/run; remove need for test/karma-run wrapper
string.supplant: allow escaping of { characters