Simplified code
added test cases for mvc dispatch listener
Merge remote-tracking branch 'upstream/master' into reflection
Re-factored ParameterReflection to not check for default values
missing test asserts
[composer] Sync replace package list
Merge branch 'master' of github.com:zendframework/zf2
Merge commit 'refs/pull/3403/head' of github.com:zendframework/zf2 into hotfix/zf8825
[#3403] Optimize number of conditions
Merge pull request #3403 branch 'hotfix/zf8825'
Forward #3403
Merge branch 'hotfix/zend-session-global-session-storage' of git://github.com/mwillbanks/zf2 into feature/3404
Restored chunk delimiters numbers to chunked response received by Zend\Http\Client\Adapter\Socket
[#3404] Better description of change

- Detailed the reason for the change, provided code samples of affected an
  unaffected code, and expanded descriptions.
Merge branch 'feature/3404' into develop

Close #3404
Merge branch 'hotfix/3412'

Close #3412
Fixes #3036
Fixes #3267
Merge branch 'hotfix/3412' into develop

Forward port #3412
Zend\Mvc\Controller\AbstractRestfulController:
- Fixed AbstractRestfulController to consult Content-type
- Made Json::decode use array notation by default
- Added property to set Json return type in controller
ZendTest\Mvc\Controller\RestfulControllerTest
* reset the shared event manager so that test will pass when run with others
Zend\Mvc\Controller\AbstractRestController:
- fixed content-type header for hal+json