Move parsing and rendering internals into the private
pgn_to_tex_internal library and rename pgn2tex to converter. Expose only
Pgn_to_tex with default to_tex arguments, abstract diagram_data,
empty_diagrams, and parse_diagrams_json. Update tests, JS bridge, and
README to the new names.
* copy project root files
* import previously created code and rename where needed
* fix license and lint
* main is now just a JS wrapper
* minified main.cjs rather than copying to a newly named file