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)