setFromArray functionaly known in ZF1
test case for setFromArray
fixed with php-fig
no need to correct ~ in the path encoding

The ~ is not encoded by rawurlencode, so we don't need to decode it again.
Changed translation file pattern for german. Scripted replaces:
=> "'%value%'   TO   => "Der Wert
"'%value%'  TO  "The input

Similar things are absolutely needed for the other languages, too.
"Small" fixes
Another fix to Zend\Validate\EmailAddress key ressource
Restoring the error handler

Restoring the error handler even if an exception occurs. 
This is something we have to do manually if we catch the Exception somewhere else.
Restoring the error handler

Restoring the error handler no matter what the exception is instead
Update library/Zend/Config/Writer/AbstractWriter.php

Syntax changes
added failing test for getting (non-)shared services when the individual setting deviates from the default setting
fix for zendframework/zf2#3439
remove surplus namespace
because already defined in 'use' statement
place  in %s invokable class parameter
Add Zend\Stdlib\Hydrator\Strategy\ClosureStrategy

Example of use:
$hydrator->addStrategy('category', new ClosureStrategy(
    function(Category $value) {
        return (int)$value->id;
    },
    function($value) {
        return new Category((int)$value);
    }
));
Adding logic to check module dependencies at module loading time
CS fixes on imported exceptions
Update the test case so that it fails if the 404 view is missing the display_exceptions variable when we want to display exceptions.
Set the display_exceptions variable on the 404 view if we want to display exceptions.
[Validator][#2538] hostname validator overwrite

Close #2538