send 404 instead of 400 on attempts to fetch non-existing database items

Centralizes mechanism to set HTTP response status
Send 500 status and better error message on db connection error
Use "TorqueRenderer" prefix for errors generated by it

Closes #164