Made Debugger::isExtending method (and tweaked few others) to be compatible with PHP < 5.3.9 (no longer using is_a() function call).