CouchDb service provider using Doctrine