(SERVER-43) support basic auth in ruby HTTP client

This fixes the ArgumentError triggered by the http report processor.
(SERVER-28) Add notes about ruby 1.8 vs. ruby 1.9
(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

'encode64' incorrectly adds a '\n' to the end of the encoded string -
use 'strict_encode64' which isn't stupid.

Also remove the errant ':' character in the 'Authorization' header used
by the ruby HTTP client.
(SERVER-43) minor test improvements
(SERVER-35) Update TK Jetty9 to 0.8.0
Merge pull request #218 from fpringvaldsen/SERVER-35-graceful-shutdown

(SERVER-35) Update TK Jetty9 to 0.8.0
(SERVER-11) Added source to log message output
Merge pull request #217 from KevinCorcoran/SERVER-43/fix-http-report-processor

(SERVER-43) fix http report processor - now with tests!
Merge pull request #216 from cprice404/maint/master/SERVER-28-ruby18-v-ruby19

(SERVER-28) Add notes about ruby 1.8 vs. ruby 1.9
(SERVER-30) Copy cacert to localcacert and remove from master fail-fast

This commit removes the check for localcacert from the master fail-fast
logic and replaces with a new CA protocol function,
`retrieve-ca-cert!`, which populates the localcacert from cacert.  The
new protocol function separates the certificate generation logic in
`initialize-master-ssl!` from the CA cert acquisition logic, allowing the
latter to be reused sometime in the future.

In the previous commit, master initialization would fail if the master cert
and private key were not present but the localcacert were present.  The
latter is valid, for example, if the master certname is changed sometime
after the server is initially booted.  The new logic more closely
matches the error handling in Ruby Puppet master initialization.
Merge pull request #221 from camlow325/bug/master/SERVER-30-handle-localcacert-presence-or-absence

(SERVER-30) Copy cacert to localcacert and remove from master fail-fast
Merge pull request #219 from dankreek/SERVER-11/log-report-processor

(SERVER-11) Added source to log message output
(MAINT) Minor presuite cleanup.

* Temporary file should use 'puppetserver' instead of 'puppetdb' in its name.
* Restructure code so it's a little easier to read.

Signed-off-by: Wayne <wayne@puppetlabs.com>
(PUP-3459) Reports dierctory created with wrong owner.

This is a workaround for a more general problem with the puppety approach to
creating application-level resources--creation of directories whose paths are
known in advance is an installation task, not a runtime task.

Signed-off-by: Wayne <wayne@puppetlabs.com>