Add check for permalink conflicts to jekyll doctor

Fixes #1077.