Convert protocol relative urls that start with // to the protocol specific version using rack.url_scheme
cleaned up code for translating paths.
Implement url regexp translation feedback from @sigmavirus24 - comments to regexp, and use string interpolation.
Merge pull request #254 from rojotek/relative-protocol-support

Relative protocol support