Added an uncaught exception handler to the HTTP restify server, which logs the exception and sends a response with the error. This replaces restify's default exception handler.
Send the actual error as part of an exception response only when settings.DEBUG is enabled
Merge pull request #138 from cvan/exception-logging

Added uncaught exception handler to log errors