URI parse fix

URI.parse crashes on URLs that contain square brackets (example: "image[1].jpg"), but URI.escape doesn't escape them!  Apparently we need to do some extra work to escape these URLs.  I've added the extra escaping and a test to verify that image_scraper can handle image URLs that contain square brackets (and fixed up some of the other tests to make them pass again).