Updated TEA build system of tdom itself and the extensions (merged from branch "tea-update").
Test documenting the seg fault reported by https://github.com/tDOM/tdom/issues/16.
Fixed memory corruption in case of scripted xpath function with an attribute as context node (reported by https://github.com/tDOM/tdom/issues/16).