Disable DebugKit in CLI, and fix queries not being logged in routes.

Fixes #230 and #240