[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
include *.pyinclude */*.pyrecursive-include data *.gif *.png *.ico *.css *.jsrecursive-include i18n *.porecursive-include wdoc *