Log deprecation warnings to framework.log

MSP-8892 #finish

Override ActiveSupport::Deprecation.behavior to wlog message and dlog
callstack instead of printing to stderr.
Merge branch 'bug/msfconsole-boot' into bug/deprecation-warning-logging
Merge branch 'feature/module-cache-construction' into bug/deprecation-warning-logging
Indent callstack for easier reading of log

MSP-8892

Old newline was in '' so, it wasn't being used and after fixing that, it
was hard to pick out the beginning of each callstack, so indent each
line to make the backtrace stand out from each other.
Land limhoff-r7/metasploit-framework#11

Fixes the spurious depreciation spam by redirecting to the logfile, not
the console.

See JIRA story MSP-8992