ioc resolves classes with optional params and accepts arguments
adding unit tests for ioc changes
Merge pull request #1690 from kdocki/master

IoC container not resolving classes with optional parameters (i.e. models that use Eloquent)
Merge branch 'master' into master-with-fixes