Add helper functions to view_util for better error handling
Add helper functions to view_util for better error handling

One function gets a field from the request's json object while the
other two objects query orgs and users, handling the worst case of an
invalid id with an exception (which should generate the correct error
response object).

lukesanantonio/inpassing-backend,lukesanantonio/inpassing-backend