Add bucket type support

basho/riak#362