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
Added option to change format in options when DateTime is build via Factory
Added option to change format in options when DateTime is build via Factory
Merge branch 'feature/datetime_factory_format' of github.com:pdobrigkeit/zf2 into feature/datetime_factory_format
Fixed usage of Traverseable for $options.
Did not want to duplicate the check done in Element, but rather used to already converted $this->options instead
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 Test
Fixed comment return val
Merge pull request #3437 from pdobrigkeit/feature/datetime_factory_format

Feature/datetime factory format
[#3376] Better fix

- The main point is that we ensure hasItems() internally calls
  internalHasItem(). As such, removing the multiple keys ensures we
  don't have issues with index order of mock objects. Test now passes on
  both 3.7.12 and 3.7.13, on all PHP versions used.
Merge branch 'hotfix/3376'

Backport #3436 to master
Updated session manager to register_shutdown_function rather than a destructor

- Fixed an issue where an exception was not properly defined in use
- Fixed a flash messenger test by clearing session storage on teardown
- Removed a no longer valid test on sessionmanagertest

Conflicts:
	library/Zend/Session/Storage/SessionArrayStorage.php
Allow injecting session manager into PRG plugin

- which allows creating the internally used Container with the specified
  session manager
- neither FM and PRG should instantiate a SessionManager directly; they
  should use the default manager from the Container class
CS cleanup of PRG plugin

- Created docblock for __invoke() method
- Removed an else condition that would not be hit if the if condition is
  evaluated.
Fix issue with imports

- An import of "use Zend\Session\Storage\StorageInterface as Storage" caused a
  subsequent, existing check of "instanceof Storage\StorageInterface" to thus
  fail. Removed all imports for classes in the same namespace to fix the issue.