Teradata support

As per overview in #304 to resolve #168 and #7.
Since I have no Teradata yet - the tests are getting stuck here.
As Tearadata is a bit more demanding to setup: I wonder whether to make the tests ignored by default, or find some other easy way to skip them.