PCT-671: Support for explain

Tests pass: http://tools-ci.percona.com/job/percona-agent-branch/49/