add Transforms.hs, add footnote transform
fix link url-finding magic