Upgrade to json 1.8.1.

json <= 1.8.0 needed iconv for Rubinius in 1.9 mode, but iconv relies on
C API functions which do not exist in Rubinius.
Use HMGET to set initial item attributes in the pipeline.

A small reduction in the amount of Redis traffic.
More compact string interpolation.
Fix comment spacing.
The diff variable isn't needed.
HMGET returns an array, not a dictionary.
Bump pipeline version.
Hack out SSL connectivity.

Further SSL options as needs warrant.

For example: SSL certificate verification might be a good idea, but in
practice, many IRC servers don't use SSL certificates from any "trusted"
CAs.  (We also now have evidence that the trust chain on a certificate
means jack shit.)

But if someone really wants it, it can be added in later.
Pass URIs to {CouchDb, LogDb} constructors.

No reason why the constructor should have to do the conversion.
Move log trimmings to CouchDB.

Yeah, there's duplicate information in the CouchDB key and document.
The idea is that the ID is unique but opaque.  Under that constraint, if
we want to build views on log data, we will have to use document keys.