Changes logging_handler to propogate up the return value

of the yielded method.

This is necessary because the `execute_on` method of the
`Command` class expects the return value of the `execute_on`
of the `Statement` class.

@blankenshipz was the mastermind of this change