gh-36124: fix cardinality, #36119, #36118, #36116
* Fix a thinko in the iterator for TSSCPP
* make plane partitions hashable
* avoid rational numbers in the cardinality methods, when necessary
* raise an error when an integer and a symmetry is provided as argument
to `PlanePartitions`
Fixes #36119
Fixes #36118
Fixes #36116
- [X] The title is concise, informative, and self-explanatory.
- [X] The description explains in detail what this PR is about.
- [X] I have linked a relevant issue or discussion.
- [X] I have created tests covering the changes.
URL: https://github.com/sagemath/sage/pull/36124
Reported by: Martin Rubey
Reviewer(s): Frédéric Chapoton