Adding code to save the edited comment.

Also adding a condition to make sure the comment is editable by the
comment poster.