replace iterables with sequences, fixes #128
simplify chained sequence operations
Merge pull request #539 from metamx/sequences-all-the-way

Replace Iterable with Sequence in CursorFactory