Update sfu api status code

Andrew, once deployed need to double check course form is working. My local testing passed, but should confirm on canvas-test once deployed. I updated all the APIs to return 404 if user doesn't exists or 500 if something went wrong with the RESt server. I don't see it breaking the jQuery calls in the course form, but need a 2nd set of eyes to confirm.


Steve, this should help with your scripts to add/delete course sections. When checking for /sfu/api/v1/amaint/course/<sis_id>/[sectionTutorials]:
  200 - Section exists, will provide child/lab/tutorial sections if available. If not, will just show main section (e.g. d100)
  404 - Section doesn't exist in Amaint, can delete from Canvas.
  500 - Something went wrong when communicating with the REST server