Fixed encoding of Uri slashes.

@ovatsus here's the fix you asked. I tested it on XS and ApiaryTypeProvider now works.

But my trial of Visual Studio 2013 expired and I couldn't test it on Windows. Also, I wasn't able to run the tests on Mono...

Could you please please finish the job for me? :D