Split collections module

Riak and in-memory collections each belong in their own module.
Missing newline at end of file (tx github).