Adds datatypes support.

See also riak_kv#732. The API functions are equivalent to the ones provided by the PB client, but return values will obviously be slightly different.