merge from jedi4ever, basic support for Events described in #15 and #16
vim screwed up the indention :/
rename Terminal to TermBuffer
take correct scroll region attributes (torture test was failing)