Implemented WebVTTToMarkdown demo

Also implemented StringBuilder::insert() and StringBuilder::replaceAll(),
along with some helper functions, in order to support the demo application.

No tests for this stuff yet, I'm afraid.