Improve remove_version_from_href so that it supports URLs for which
the version does not directly trail the hostname
Given: 'http://manila.example.com/share/v1.1/123'
Returns: 'http://manila.example.com/share/123'
Based on I8ccc449116ff164aacc0aefca3a0ec2ac8f73aa8
Change-Id: I13010d3ee0a83a67204145837503abe7126263cd
Closes-Bug: #1815038