added support for releasing collections
Merge pull request #9 from xrotwang/releasecollection

added support for releasing collections