Cassandra driver enhancement

1. Enhancement on cassandra driver for newer pycassa api compatibility.
2. Error fix.
3. Coding style improvement (partial).