Implement the shell of xdebug_is_enabled

This allows for if(!function_exists('xdebug_is_enabled') || !xdebug_is_enabled()) style-checks to see if custom behaviour should be used instead of xdebug stuff.