Adding container->exists method and test
Updated as per dongilbert's comments
Merge pull request #310 from piotr-cz/feature_DI

Adding Container->exists method and test