Fixes for canonicalize_url, object ACL query, signed URLs

Fixed python styling, squashed commits into 1