Various improvements to csv_to_grammar

  - detect duplicate function names
  - detect funciton names that only differ in whitespace and capitalization
  - remove path directive
  - escape non-ASCII chars in function names
  - bug fixes