Update exported Macaw HTML rewrite if on same domain

Remove unnecessary `http://domain` and changes `http://domain/link/to/url`
to `/link/to/url` on `<img>` elements