Align HDT source layout with its repository.
Track HDT source code as subtree.
Update to latest HDT version.
Add more detailed pattern tests.

They now work on the updated HDT version.