Update references on topic moderation change
When a topic changes to a moderation state >= hidden it should no longer
be included in categorization or whatlinkshere tables. This is a bit of
an information leak and should be closed.
The patch notices when a topic transitions in visibility and re-runs the
reference recording code against all the current top revisions within the