Update DebugPanel.php

cakephp 3.0 EventListener deprecated
Merge pull request #267 from mdlouhy/patch-1

Update DebugPanel.php