Class methods hydrator skips getters with optional parameters

Currently, `Zend\Stdlib\Hydrator\ClassMethods` skips getters like `getFoo($bar = null)` as they have `>0` parameters.

This hotfix allows to call those methods as long as all parameters are optional.