Fix unhashable methods so that lists and hashes can be exposed

This is a more granular version of pull request #91 that doesn't address the zmq.green migration.  It also adds a couple of slightly better tests.