REVIEW: [NEXUS-6027] Remove deprecated classes and apis

https://issues.sonatype.org/browse/NEXUS-6027
https://bamboo.zion.sonatype.com/browse/NX-OSSF14

The pull only includes removal of trivial deprecated code. The remaining ones are more complex and should have a pull of their own.