[FIX] all exercise solutions

* ensure all of them actually work (they previously didn't)
* convert exceptions in new API constraints into validation errors (as for old
  API)
* improve @api.consrtains docstring