implemented emailing of exceptions, emails only a traceback
added postgres logging, tested
allow psycopg2 to sanitise the input, for security's sake
added reporting of chamber number to database
small fixes to database logging
more informative email alert on exception