Security fix

Automatically switching to JSON output based on the Accept header is a massive security risk. I can crawl an entire ZF2 site with JsonStrategy enabled and get it to dump all the ViewModel variables for every page by simply adding "application/json" to the Accept header. This includes any information which the developer passed to the view but did not anticipate ever being rendered on a page and may include sensitive information.

The default use case should NOT automatically output JSON based on a user-defined request header. A better solution would be to make this a configuration option but this is beyond my knowledge of ZF2 and beyond my current availability to implement so I can only offer to remove the offending code for now.
quoteIdentifier() & quoteIdentifierChain() bug

Identifier escaping is done means of doubling the delimiter character, and not using a backslash.
quoteIdentifierInFragment() also has wrong escaping
Added tests for ensuring escaping
Added composer.json for resources package.
Add empty option before empty check
Removed check for empty option
Updated test for PR#2837
Resolve naming conflicts in foreach statements
OutputCache: fixed storing of catched output
Fix : change self:: with static::
in Zend\Debug\Debug.php in calling static propery/method
remove unused const in Zend\Barcode\Barcode.php and fix self:: to static::
Fix : change self:: with static::
in Zend\I18n\Translator\Plural\Rule.php in calling static propery/method
Fix : change self:: with static:: in Zend\Text\Table in calling static propery/method
[Crypt] Optimize Hmac::calc

Cached the last algorithm supported for speedup the calc() preconditions

This version speed up the code ~30%
[Crypt][#2771] Optimize Pbkdf2

Invoke directly hash_hmac core function instead of Hmac::compute

This change speed up the algorithm up to 50%
[Crypt][Hmac] Remove caching of supportedAlgorithms

Call directly hash_algos() is more fast with PHP 5.3 & 5.4
[Crypt][Hmac] Add tests, check for null hash and a method for clear the cache

Also refactor the test suite for use data providers
[Crypt][Hash] Applied the optimizations of Hmac class
change self:: with static:: in Zend\XmlRpc\AbstractValue in calling static property/method