Add Cursor.Bucket() function.

This commit adds an accessor to the Cursor type to retrieve the Bucket that it was created from.

/cc @mkobetic