Add integration test for thrift client factory
Change build config to install thrift into elasticsearch before running the tests. this should prepare us for running integration tests on the ci env.