RestAPI: Change validation exceptions to respond with 400 status instead of 500

Validation errors are clearly in the realm of client errors (a program with the request).  Thus they should return a 4xx response code.