[google|storage] Make public_url function easier to read and change acl request to deal with nokogiri changes.

As found in #2025.