Add a generic proxier

To proxy traffic to anything that implements ResourceLocation.
Currently, this is only services. This is easily extensible to minions
(would supercede existing mechanism) and pods.
Rewrite proxy code for clarity and correctness.
Extend proxy test to test all URL rewriting cases.
Merge pull request #1105 from lavalamp/proxy

Add a generic proxier