[SPARK-3415] [PySpark] removes SerializingAdapter code

This code removes the SerializingAdapter code that was copied from PiCloud
This isn't guaranteed to be the same across Python versions, so this test will be brittle.  It's probably fine to pickle it using dumps, load it with dumps, and verify that what you get back is reasonable.