Created a container definition class

Migrated Autofac to use definition model
Added the rest of the containers
Moving classes to more internal namespaces
Better names and api doco
Adding new generic constraint
Fixed obsolete messages
Fixed acceptance tests
Merge pull request #2196 from Particular/Container_extensions

Container extensions