Protocol-relative URLs

I've created a simple patch to add protocol-relative URL support:

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5774-protocol-relative-urls

While Rails is smart about generating URLs with the current scheme,
sometimes you want to hand the logic off to the browser (when
generating embed code URLs, for example).