Abstract out relative link normalizing into a separate function and add to post thumbnail images.

Fixes #33