add [](#code) detection to RESUtils.isCommentCode

removed it from keyboardNav
consolidate "not comment link?" checks into getCommentLinks

fixes #1324