misc
rm static/term.js and use the term.js module.
use term.js.
move example and tests to term.js.
refactor new tty.open code.
v0.2.11