Cleaning TH functions not to depends on SqlValue type.
Move TH functions into relational-join which does not depends on HDBC.
Rename TH functions.
Update haddocks.