Clean up specs
Refactor parser error messages

- move message generation to TSParseError,
  so that Parser doesn’t need to import <string>, and can
  be compiled as plain C.