edit-post action for Topic block

Includes some refactoring of Parsoid, and a few other unrelated changes.

Change-Id: Ie62ff67ae09ec131ae49acce3ffe779311203842
Merge "edit-post action for Topic block"