Implement a basic Cassandra backend.

This relies on the new condition-update functionality of Cassandra 2.0,
which is currently in beta release.