support for optional parameters in IoC constructors -#239 (but don't expect these to work on all platforms immediately)