Convert BucketListingRef and StorageUrl getters to properties.

* Make XmlPassThrough functions take a StorageUrl.
* Rename BucketListingRef.TypeName() to .type_name.
* Rename GetVersionlessUrlStringStripOneSlash to CreatePrefixUrl.
* Fix a few linter warnings.