Phalcon\Db\Profiler\QueryLogger + tests

Meant to ease setup of sql query logging, inspired by http://docs.phalconphp.com/en/latest/reference/db.html#profiling-sql-statements