REP-1087 handling query params in location header
REP-1087 tabs replaced with spaces
initial test
update cosmetic
update
Updated test that will rewrite the url and test that logic.
Merge pull request #1101 from rackerlabs/REP-1087-test

Rep 1087 functional test with Marek's commits