new function: setBucketRedirect()

This function allows setting a bucket's static web hosting parameter to redirect all incoming requests to a particular host.  I tried to keep the coding style the same as the existing code as much as possible.