fix strict standards in example
rewritten SetterFectory to support multiple inject methods

SetterFactory now support multiple inject methods (they are specified as
array of names in constructor parameter) with autowiring.

Possible BC: A single dependency of type array is now treated as an array of
dependencies.