Change ragel to use a scanner instead of a state machine
Change ragel to use a scanner instead of a state machine

* This appears to be a better approach since the parsing won't be
  duplicated on the scanner and parser side of things. Ragel is now
  only responsible for tokenizing the input, and Racc will be used
  to parse the tokens.

solnic/sql,artemeff/sql