Fix a minor issue I discovered with class-deprecation.  In short, the new class's __init__ should receive the same treatment __getstate__ and __setstate__ (unfortunately the same really goes for any method that might use super(), which is not addressed here.  But this should be fine for most important cases.
Changelog entry
Alternate fix that works by eschewing subclassing the original class, and instead just tossing it away outright and building a new class.  There are still some obscure cases where this won't work, especially in the case of custom metaclasses.  But those cases can be dealt with if really needed...
Merge pull request #3004 from embray/utils/fix-deprecated-class-super

Fix deprecated decorator on classes that use super(...).__init__