Upgrade to the new Docusaurus 2 beta release, which also required upgrades to newer Webpack@5, and some API fixes for TOC changes.
Added a documentation page with a script that upgrades deprecated key codes and behaviors to their replacements. Fixes #299