(SERVER-43) test coverage for ruby HTTP client

Refactor test for extensibility and add a test case for HTTP POST.
Use a ScriptingContainer with persistent local variables, so we can
re-use the HttpClient instance for additional tests.
(SERVER-43) use 'strict_encode64' and add tests