Better non-Amazon S3 support.

- Hostname was not overwritten in validation.
- Support older S3 path-style access //$HOSTNAME/$BUCKET/
- Make it possible to entirely disable S3 if your provider does not
  support it.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>