Evaluate exception classes as strings, to fix a problem introduced in f4f9ffcd27b9e1eab154909669928c3e5d3a6bb1 where OpenURI::HTTPError isn't defined if you're not using OpenURI
Evaluate exception classes as strings, to fix a problem introduced in f4f9ffcd27b9e1eab154909669928c3e5d3a6bb1 where OpenURI::HTTPError isn't defined if you're not using OpenURI

Also, some related code cleanup.

chrisk/fakeweb,benhoskings/fakeweb