Merge branch 'hotfix/3331' into develop

Forward port #3331
Merge branch 'hotfix/3333' into develop

Forward port #3333
Merge branch 'fix/validator-file-sha1' of git://github.com/cgmartin/zf2 into hotfix/3334
Merge branch 'hotfix/3334' into develop

Close #3334
Merge branch 'hotfix/3340' into develop

Forward port #3340
Merge branch 'update-code-package' of git://github.com/neeckeloo/zf2 into hotfix/3297

Conflicts:
	library/Zend/Code/Generator/ClassGenerator.php
	library/Zend/Code/Generator/DocBlock/Tag/LicenseTag.php
	library/Zend/Code/Generator/DocBlockGenerator.php
	library/Zend/Code/Generator/FileGenerator.php
	library/Zend/Code/Reflection/DocBlock/Tag/MethodTag.php
	library/Zend/Code/Reflection/DocBlock/Tag/ParamTag.php
	library/Zend/Code/Reflection/DocBlock/Tag/PropertyTag.php
	library/Zend/Code/Reflection/DocBlock/Tag/ReturnTag.php
	library/Zend/Code/Reflection/FunctionReflection.php
	library/Zend/Code/Scanner/ClassScanner.php
	library/Zend/Code/Scanner/MethodScanner.php
	library/Zend/Code/Scanner/TokenArrayScanner.php
	tests/ZendTest/Code/Generator/ClassGeneratorTest.php
Merge branch 'hotfix/3297' into develop

Close #3297
Merge branch 'fix/filter-renameupload' of git://github.com/cgmartin/zf2 into feature/3259
added file and class headers
Merge branch 'feature/3259' into develop

Close #3259
Merge branch 'feature/htpasswd' of git://github.com/ezimuel/zf2 into feature/auth-apache-password
[#3243] CS fixes

- trailing whitespace
- add comma after last array element
Merge branch 'feature/auth-apache-password' into develop

Close #3243
Merge branch 'feature/abstract-restful-controller-json-detection' of git://github.com/jvandemo/zf2 into feature/3028
[#3028] Add check for existence of Accept header

- If we don't have an Accept header, we can't test for allowed content type, and
  must return false
Merge branch 'feature/3028' into develop

Close #3028
Merge branch 'hotfix/3307' into develop

Forward port #3307

Conflicts:
	library/Zend/Code/Generator/DocBlock/Tag/LicenseTag.php
	library/Zend/Code/Generator/DocBlock/Tag/ParamTag.php
	library/Zend/Code/Generator/DocBlock/Tag/ReturnTag.php
added abstract response sender

send Headers not uses "headers_sent()" directly
Provide support for more HTTP methods in the AbstractRestfulController

- Adds explicit support for OPTIONS, PATCH, and HEAD
- Adds ability to register handler methods for custom HTTP methods
- Refactors:
  - DRY up identifier retrieval -- added getIdentifier() method
  - DRY up parsing of content body -- added processBodyContent()
  - Moved RESTful method handling out of conditional
Remove abstract keyword from new methods

- Cannot add new abstract methods (BC break); instead, raise exceptions
  if unimplemented.
- Added in missing patch() method.