parse out trailing -gzip from Etag for ref

a ref is an immutable identifier for the version of the item.  The -gzip part 
of the Etag header is not part of the ref, so we should not present it as part 
of the ref.

Closes #48