added PHP 5.4 support for strings in Bz2 and Gz decompress
PHP 5.4 support for strings in Bz2 and Gz decompress - removed PHP 5.4 version check for some tests
Merge pull request #5839. Fix #5788
Merge pull request #5839. Fix #5788 in master