Improvement: Skip the debug plugin if debug is off

Tracker: #32982
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32982&start=0