Add config option for enabling sql tracing

Helpful feature for debugging performance and functionality of sqlite
queries.

You shouldn't turn this on in production.

fixes #7
Hlint clean up