Fixed a bug in texthelper.lua

The correct name for the function is table.insert. Tested it locally (though, not extensively) and it appears to work.
Merge pull request #1 from adiron/master

Fixed wrapping long words not working.