added simple mail module
add error.mail conf for sending errors per mail

also show cgitb html tracebacks in browser when debug is set to True