Exceptions that are raised should not be logged.

This will allow people to ignore statements that they know can fail.
Merge pull request #153 from boudewijn-tribler/database-logger

Exceptions that are raised should not be logged.