Add BucketType property to IBucket

Generic code working with IBucket sometimes needs to know what bucket
type it is. Currently the only way was checking underlying object type
in SDK. Adding BucketType to IBucket interface adds abstraction so user
code is no longer dependent on SDK implementation specifics.