Msf::ModuleManager::ModulePaths shared example

[#47979793]
Msf::ModuleManager::Loading shared example

[#47979793]
Msf::ModuleManager::Cache spec coverage

[#47979793]
Msf::DBManager#report_session specs

[#47979793]
Use be_within to loosen tolerance for Time comparisons

[#47979793]
[#48414569]

Even though using Timecop locally on OS X makes the `should == <Time>`
work, it fails on travis-ci, so try using `should
be_within(1.second).of(<Time>)` instead.
Msf::DBManager::Export#extract_module_detail_info spec

[#47979793]
Change spec structure to reflect module/classes for Msf::DBManager

[#47979793]

Multiple files define Msf::DBManager, but it's better to have one spec
for Msf::DBManager, so change spec structure to reflect module and class
hierarchy instead of file hierarchy of defining files.
Do not mock on nil.

[#47979793]

Using `should_not_receive` on `nil` gives `nil` a permanent
`@mock_proxy`, which causes Marshal.dump to fail in later tests (see
https://travis-ci.org/rapid7/metasploit-framework/builds/6502350).  By,
checking there are no NoMethoErrors raised, nil can be tested as
parent_module, but works around the RSpec issue
(https://github.com/rspec/rspec-mocks/issues/274).
Get rid of pg application truncation warning

[#47979793]

The 0.15.0 version of the pg gem set the application name as the full
path to the application, `$0`, which was the full path to `rspec` when
running a subset of tests.  This caused warning NOTICEs to be printed
that the string would be truncated.  The truncation warning disappears
with version 0.15.1 of the pg gem because the full path is not used.
Msf::DBManager Mdm::Module* specs

[#47979793]
Msf::Ui::Console::CommandDispatcher::Core#search_modules_sql spec

[#47979793]
Update to metasploit_data_models 0.7.1

[#47979793]
Merge branch 'master' into feature/mdm-module-namespace

Conflicts:
	Gemfile
	Gemfile.lock
	lib/msf/core/db_manager.rb
Update to metasploit_data_models 0.11.0

[#47979793]
Update to metasploit_data_models 0.11.1

[#47979793]
Merge branch 'master' into feature/mdm-module-namespace
Update to metasploit_data_models 0.11.2

[#47979793]
Merge pull request #1813 from limhoff-r7/feature/mdm-module-namespace

Updates to MDM 0.11.2