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 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' into develop

Forward port #4988