Cleanup, add commenting, and sanity checking

Added some sanity checking to the linkcheck code, as well as comments.
Changed the inline regex instantiation to finals with names that make
more sense on what exactly the regex is for.
Merge pull request #15 from Term1nal/term1nal

Cleanup, add commenting, and sanity checking