Made operator keyword trigger operator state, and the nix lexer end it after one token.

The token_literal tokenizer now only operates in the production and operator states
Added external terminal reference token
Added extern keyword and ability for external terminal references to be identifiers
Added precedence token modifier
Updated examples