MDL-40604 deprecatedlib: Sort out old ~2.0 deprecations

Make sure things are throwing debugging notices and are documented.