make the text editor view more useful

support real addline, deleterune, more normally cursor move and view move,and full
support chinese rune(wide char),tested on win7, debian 6 and macos.
change the drawframe chars for compatibility on windows,update demo2