Backport textcommands to st2
Truncate message log on connect without the annoying 'do you want to reload this file?' prompt. Fixes #41