Fix for issue #1421 IE10 not downloading images

Adds a retry count to the image URL, this does make IE10 retry and
succeed, and has the added advantage of changing the server to one of
the alternates if using multiple server URLs.
Merge branch 'master' of https://github.com/lesma/openlayers