Adding a simple collections library

The collections will be necessary for the CRDTs. Eventually I may add
support for map, filter, fold, reduce, some and every.