Add a RangeReg - a new top-level datatype

Rangereg is a register for integers that tracks the largest,
the smallest, the first (by timestamp) and the last (by timestamp)
integers assigned into it.

This is part of the changes in basho/riak_kv#1005 .