Added check for number of paramters
Added tests
Merge branch 'hotfix/3295'

Close #3295
Merge branch 'issue/invalid-function-call' of git://github.com/iwalz/zf2 into hotfix/3352
[#3352] Import ReflectionMethod
Merge branch 'hotfix/3352' into develop

Forward port #3352