PHP 5.4 improvements for Debug Objects

This PR suggest adding a separate class for PHP 5.4 specific improvements, since a functionality is already implemented for higher PHP versions than the minimum requirements for WordPress.

Adding the new class would be included only if the current versions is higher than 5.4.