added extra test
addComponents method added to IocContainer API
Revert "addComponents method added to IocContainer API"

This reverts commit c88fd83e1f50ece741724199dda1ba0cc7244bc1.
remove 'var' as uneeded
Fixed namespacing ambiguousness
renamed tests
rename enclosed variables to type from key
Refactored 'key' to 'type'