Don't check for the existence of files if the link is internal
Rearrange tests so that *index.html* is not in root

This avoids silent errors with hash references.
Merge master
Merge pull request #103 from gjtorikian/fix-hash-referring-to-self

Fix hash referring to self