Removing deprecation message and silencing method.

The deprecation rake task is no longer useful because the deprecated
methods have already been removed.

The method for silencing stderr has been removed since it was only
useful for `rake test:uncommitted` which was deprecated and removed.
Merge pull request #11133 from wangjohn/remove_deprecation_rake_task

Removing deprecation message and silencing method.