Export missing function - couch_httpd:send_error/2

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Removing debugging code