Add URL rewriter function

Added function to rewrite the URL before the images src is updated, for example:

```    
$("img.lazy").show().lazyload({
    url_rewriter_fn: function (url) {
        if (window.devicePixelRatio >= 2) {
            url = buildRetinaUrl(url);
        }
        return url;
    }
});
```