[bucket] Use 4.0+ decorators

Instead of <func>.rule and <func>.priority, use
@rule and @priority decorators.

Tested and seems fine, but others are encouraged to test
before this gets pulled.
Merge pull request #35 from dgw/use-decorators

[bucket] Use 4.0+ decorators