Preserve scheme when redirecting to blob \ cdn

Updates to Pranav's original PR to make it all work with the latest code. Also, instead of CloudBlobFileStorageService needing an HttpContext, it just needs the request URL.

Fixes bug #576