common datastore operations, plus various small changes from the field

mainly from working on a cassandra + java client deployment