add IUserFriendlyError adapter for violation of check constraints
This way we get back the same error messages we get from the python
check.
Related to #5154406
raiseNotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)")