Fix ZF-11921: Race condition in plugin loader include file cache

This fixes the race condition described at:
http://framework.zend.com/issues/browse/ZF-11921

For the race to disappear each and every line is made completely independent from the others. This is the reason why every line includes its own php open and close tag, and no file_get_content() is made, and the file is opened in append only mode.

To prevent the insertion of duplicates lines, a fast non blocking lock is made and kept until the end of the request, thus the static $h.

Tested on a highly concurrent server without a problem.
Code cleanup
Minor fix in PluginLoader.php
Added JSON_UNESCAPED_UNICODE and JSON_UNESCAPED_SLASHES to encoding GCM Data to JSON
Rely on the autoloader to load PHPUnit_Runner_Version and PHPUnit_Autoload, instead of requiring their files directly.
Fixes #296 - Old locale data constants in Zend_Locale after CLDR update
fixes #303 Allow zero count in assertQueryCount
Merge branch 'hotfix/296' of github.com:froschdesign/zf1 into pr298
Merge branch 'pr298'
Aliases for Zend_Locale

Provide aliases in Zend_Locale for locales that no longer exist in CLDR.
This allows applications using valid CLDR locale names up to 1.12.3 to
continue to work as expected.
Merge branch 'master' of github.com:bskendig/zf1 into pr297
Merge branch 'pr297'
Merge pull request #307 from akrabat/locale-bc

Aliases in Zend_Locale for locales that no longer exist in CLDR
Merge pull request #279 from mingalevme/master

Added JSON_UNESCAPED_UNICODE and JSON_UNESCAPED_SLASHES to encoding GCM Data to JSON
Merge branch 'issue-303' of github.com:vladas/zf1 into pr304
Merge branch 'pr304'
Fixes #301 - Undefined variable in Zend_Application_Resource_Translate
Merge branch 'master' of github.com:nicolas-grekas/zf1 into pr164
Merge branch 'pr164'
Fixed the Zend\Auth\Adapter\OpenId tests