Merge pull request #1526 from setowns1/bug2

Fix massive leak experienced by tower_opt repo
Fix Container.__deepcopy__ for memory leak
Merge branch 'dev' of github.com:OpenMDAO/OpenMDAO-Framework into bug