[API] Allow setting the client for tests in an external file

In: my_special_client.rb

    require 'elasticsearch/transport'
    require 'my_own_stuff'

    $client = MySpecialClient.new

Run with:

    $ ruby -I lib:test -r ./tmp/my_special_client.rb test/integration/yaml_test_runner.rb