Support to remove decimals in currencies
Updated tests
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.
Update library/Zend/Http/Header/SetCookie.php

Cookies were not handled correctly. If you had a cookie for .sub.domain.de from the last response and then fired a new request to www.sub.domain.de, the old cookie was not added to the request (because .sub.domain.de is a substring of www.sub.domain.de, it should be added, the method should return true which was not the case).
Added ability to specify port
fix redundance errors
Fix potential issue with Sitemap test

- Gabriel403 reported that some PHP and PHPUnit combinations made the
  testDisablingValidators() test fail. Based on the reported failure, it appears
  that different versions of libxml may result in differences in how empty tags
  are created (e.g., "<lastmod></lastmod>" vs "<lastmod/>"). Using the
  assertEqualXMLStructure() assertion should correct this.
Zend\Db\TableGateway:
* Updated EventFeature to optionally take a EventManager
* Added identifiers support to the EventFeature
* Updated TableGatewayEvent to not prefix the event name with the identifier
added tests
add phpdoc to DispatchableInterface
fix redundance errors
unit test for datevalidator twice
Merge branch 'hotfix/zend-validator-date' of https://github.com/samsonasik/zf2 into hotfix/zend-validator-date
Optimize autoload prefix in composer.json

By having more specific autoload prefixes it is possible to reduce the number of stat calls made.
Add develop build status
Test for Service Manager with Abstract Factories

At the moment, if we have multiple abstract factories in place
If any of the factories answer that they can create the object
and the abstract factories don't check that they can create the object
when having the createServiceWithName function called, then they
will simply throw back the first object from that chain.

This test proves that when asking for a "Bar" from the
"BarAbstractFactory" we're actually getting a "Foo" from the
"FooAbstractFactory", which is not expected
Fix for Service Manager working incorrectly with Multiple Abstract Factories

With multiple abstract factories, ServiceManager will potentially return
the wrong item.

This fix makes it so that ServiceManager checks if the AbstractFactory
being called can create the item first.
when strategy is fed a JsonModel and basic requirements are met the json renderer should be selected.
Merge branch 'patch-1' of https://github.com/PHPGangsta/zf2 into hotfix/2421
Merge branch 'hotfix/2421'

Close #2421