Add convenience method to cast component factory to assembly.
Merge branch 'master' of github.com:typhoon-framework/Typhoon