remove fully deprecated items from 0.6 deprecation cycle

fixes #1542 

Some of the tests in `test_serialization` needed to be refactored to use with the `PEMSerialization` backend so this deprecation is a bit more complex than usual.