Fix bug preventing error reports from being submitted.
Remove debugging print statement.

Also, have it return 500 instead of 400 when an error occurs.
Add better error logging when /log/add/error/ fails to log an error.
Use local_settings.py to override parts of settings.py

Rather than parsing settings.local at the top of settings.py