Changed /_api/bucketPath to a GET.

Because it's not creating anything, just running a hash function.
Refactored out testRestGet() helper.

Also made TestRestGetBucketPath().