auto-detect doi links
cleanup
make autolink singleton classes, and fix markdown test after cleanup
Merge pull request #240 from jay-hodgson/auto_doi_links

auto detect doi links (and since it shares much of the same code as detecting synapse links, pull common code into an abstract class)