Teach riak_core Bucket Types

Like buckets, we must teach core this because a few subsystems
use them. Bucket Types provide a method for grouping buckets
logically (see https://github.com/basho/riak/issues/362).