PLD: add sql query logging middleware
Merge pull request #443 from onaio/sql-log-middleware

PLD: add sql query logging middleware