Parse info_hash as a 40-char hex string.

This is the format that is used for redis and database keys, so it's
the format we need to have for querying them.
Add in some hiredis goodness.
Squash two compiler warnings and fix one grammatical error.