Add Basic MR functions for dealing with the counters in riak master

Soo, here are the general functions that I wrote for my CRDT Cookbook, it's probably good that they can live here.

However, it's probably best not to merge this PR until counters are available in a production release.

TODOs:
- [ ] Write some docs
- [ ] Wait for counters to be released for production usage