Issue #2958407 by alexpott: Properly deprecate SafeMarkup::isSafe, SafeMarkup::checkPlain and the SafeMarkup class