added disposal code for collections
added disposal code for collections


Former-commit-id: 68b72f8a754a7f3bd0b38f251ada465eb8cace50
jonbnewman/footwork,footworkjs/footwork,reflectiveSingleton/footwork,footworkjs/footwork,reflectiveSingleton/footwork,jonbnewman/footwork