d2rq/d2rq — pull request #243 by tslifset (2014-01-16 22:15:00+00:00)
Title: Provide before() after() hooks for statement query/close/cancel - cherry-picked

Cherrypicked #242 from master with slight enhancement: distinguishes between ```statement.beforeExecuteQuery()``` and ```statement.beforeExecute()``` and ```statement.beforeExecuteQuery()``` and ```statement.beforeExecute()```