Updated for phpunit 4.0
Classes bound by name into container were not receiving parameters
Merge pull request #3818 from GrahamCampbell/4.1-phpunit

[4.1] PHPUnit 4.0
Merge 4.1.
Default parameters to empty array.
Merge branch '4.1'