Context operations for datatypes

Needs both https://github.com/basho/riak_kv/pull/871 and https://github.com/basho/riak_dt/pull/83

Tests that the context operations behave as expected.