Intrasite link parsing

Adresses https://github.com/getpelican/pelican/issues/1063.

I tried to write tests for this, but with no success - it was too much tied with the rest of Pelican somehow and I don't know it's architecture that well... so I could not isolate the problem properly.