Add deprecation warnings to removed classes and methods

LMS-2856
Add tests of deprecated classes
Address some Pylint violations