By default, strip all formatting when pasting text
Bugfix for text posts with no title
Tests and related bugfixes
Move common title templating to shared include