added PSR-0 support + couple bug fixes from https://github.com/swco/php-cassandra