Adding support for service factories in IServiceDescriptor

Fixes #64
:+1: I should have written these tests to begin with.