Merge pull request #34 from jedi4ever/master

bunch of other ansi codes documented
export classes directly
Merge branch 'master' of github.com:c3ks/terminal.js
backport 5377c59; fixing #35
Merge pull request #36 from jedi4ever/master

test for mode change
fix buffer switching
fixing modes again.
Merge branch 'master' of github.com:c3ks/terminal.js