Refactor linkcheck logic in doc_generator

Forum URLs, e.g. http://www.openmicroscopy.org/community/viewforum.php?f=11
were not properly parsed by the current implementation. Replaced the
linkchecking logic using the one from SPhinx linkcheck.