Updated code using PhpDocReader
Added PHPUnit to require-dev
#171 Autowiring now ignores optional parameters