allow array of states in tokenizer
simplify lua highlight rules
#1069 support ruby heredocs
add php heredoc support
fix bracket matching in tcl mode
do not break the editor if highlighter is malformed
add mode for textmate snippets