added support for RequireJS
removed useless instructions in keydown/keypress
added "changed" event

and push changes to history when the event will be emitted
complete the phrase after pressing tab
added some snippets to parsers
improved "print" method
some fixes

(in createHighlightOverlay and Screen)
added setSyntax(String mode) method
fixed quotes-ending matching patterns