[CALCITE-464] Make parser accept configurable max length for SQL identifier

Add new SqlParser.Config interface and SqlParser.ConfigBuilder class; change parser .constructor and factory methods to use it.

Contribution from Jinfeng Ni, some fix-up by Julian Hyde.