Move to pyproject.toml PEP517/PEP518 packaging
Refactor the Python packaging in line with current recommendations.
No functional changes but I am moving to a new minor version nonetheless
because this changes potentially affects installation of the package,
particularly on older systems.