Added debugging support for the mysqlnd_ms plugin

Joomlacode Item:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33276
@SniperSister can we reduce this here to `@since 3.4