Doctrine CouchDB / Silex setup that throws an Error: `Class Foo is not a valid document or mapped super class`