Add text-export.lua

Currently supports basic BBCode output
Support PAUSE and IKEY in bbcode output