Added 400 Bad Request to handling of ajax errors

Also added a 400 for ValidationException for the containers api to test with initially