Split TestingPrestoClient into base and implementation

This allows other clients to use the infrastructure to pull data out
of a presto server. The Kafka test suite uses this to pull data out of
tpch and write it into the Kafka topic out-of-band (the kafka
connector is read-only).
Make smoke test work.
license headers
refactor code
test refactoring