WIP on text editing: new text contents replace old

Editing the text can now replace the text contents as well as the
title (feedback from users says this is a desired feature), but
there's currently a problem where if the text contents are empty,
it clobbers the old contents. (Intended behavior is that if nothing
is entered in the "new text contents" area, keep the old contents.)
Merge branch 'master' into feature/questiondto

There have been some major changes in master, so we should merge them
in and fix up any problems before proceeding.
WIP on text editing: texts can be properly edited

Text content editing now works properly: if the text content editing
area is left blank, the old text is left intact. But if new text is
entered, it replaces the old text.

Next up: making sure rights are properly integrated into this editor.
Add ability to edit text contents as well as title
Merge branch 'master' into feature/questiondto
Remove some debugging console.log calls
Fix up post-merge problem with adding new answers