QA: fix Topic collapsing for new modal dialog

Topic collapsing.Small topics view fails hiding a post, because we have
a new modal dialog.

Changed to make moderation.feature and collapse.feature
and reply_moderation all pass

Also some general cleanup

Change-Id: I3a3e8db8246bb40af8e83bbafc6dc8d9120cecef
Merge "QA: fix Topic collapsing for new modal dialog"