adds DynamicComponentProvider
adds withMethod to StateComponentMapping
adds tests
Merge pull request #19 from neilmanuell/DynamicComponentProvider

DynamicComponentProvider