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.
* support diagrams in variations.
* Diagram data now carries an optional `path` (the SAN move sequence from the root) alongside the legacy `ply`; diagrams whose `path` resolves inside a variation are rendered inline within the variation. `parse_diagrams_json` returns a `diagram_data` record with `by_ply` and `by_path` maps.
* make variation boards slightly smaller than the mainline boards
* update changelog v0.0.2
* 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