Revise docblocks in Zend\Session\ContainerAbstractServiceFactory
Test for issue #4990
Make sure that a use is only added once in ClassGenerator
This commit ensures that if someone adds a use twice it is only added once to the file.
Added tests for issue #4988
If no namespace used do not try to concatenate the namespace

If using ClassGenerator for non namespace classes no methods are found inside classes, as the classname check fails always.
Only try to remove the namespace from a classname if there is a namespace and add backslash for non namespace classes

For non-namespace classes this substr/strlen algorithm removed the first character of the classname.
The slash is needed when generating namespace classes, which use non-namespace classes.
Merge pull request #4981 from pwarnock/hotfix/strip-off-session-container

Revise docblocks in Zend\Session\ContainerAbstractServiceFactory
Merge branch 'hotfix/4981'

Close #4981
Merge pull request #4990 from Danez/patch-2

[Zend-Code] Make sure that a use is only added once in ClassGenerator
Merge branch 'hotfix/4990'

Close #4990
Fix error Undefined variable: class in Zend/ModuleManager/Listener/ServiceListener.php
Add parens for ternary operator
Merge branch 'hotfix/4957'

Close #4957
Merge pull request #4988 from Danez/master

[Zend-Code] Fix Code Generation for non namespace classes
Remove "gh-" prefix from group annotations

- Also removed `@package` annotations
- And added license block to test asset class file
Merge branch 'hotfix/4988'

Close #4988
[#4996] Correct order of merging

- Added test showing issue with merging
- Fixed merging logic to merge new input with old
[#4996] Additional test showing intended use case for input merging

- Provided by @Bakura10
[#4996] Set fieldset as base fieldset

- to ensure input filter does not need to look for fieldset name
[#4996] Fix input retrieval

- It's nested.