CONN-512 add maint script to fix comments_index

Adding a maintenance script to clean up the bad rows in the
comments_index table. Finds entries with first_rev_id values that have
no corresponding rows in the revision table and sets deleted=1.

/cc @owend