Fix add() deprecation on task and configuration containers
Merge pull request #55 from matthauck/fix-deprecation

ConfigurationContainer.add() deprecation warning