Store bucket type hash for new riak_objects in typed buckets

Calculate and store a bucket type hash for all new riak_objects
created for typed buckets. This primary consumer of this information
is Riak's replication system, but it may have general use and is
benign when not used.