Minor fix to Ruby code example

Addresses #1026
Change more instances of `bucket_type` to `type`
Revert python back to bucket_type, fix a couple python examples
Merge pull request #1027 from basho/issue-1026

Ready: Minor fix to Ruby code example