Phalcon CouchDb wrapper