Fix bug where error response we're generating correct message but wrong
response code (200 instead of 4xx 5xx).
Moving some functionality out of movies.clj and into api.clj