Make forums endpoints return better status codes

Previously, AJAX calls would return 400, and page views and attempts
to load inline discussions would return 404 if communication with the
comments service failed. Now such problems cause a 500 status code.
Merge pull request #1301 from edx/gprice/forums-500

Make forums endpoints return better status codes