Log deprecation warnings to framework.log

Originally: https://github.com/limhoff-r7/metasploit-framework/pull/5

MSP-8892

Override ActiveSupport::Deprecation.behavior to wlog message and dlog
callstack instead of printing to stderr.