Iterate over document collections
Add tests to iterate over collections
Merge pull request #19 from gjtorikian/support-collections