[dbapi] move ProgrammingError into cubicweb module
A new ``repoapi`` will be introduced as a replacement for the dbapi. It will
need ProgrammingError too.
Related to #2503918
Essayer le champ de recherche. Essayer des recherches comme "ficheunmotachercher", ou encore "fiche wikiid index" ou "345".