metasploit-model 0.5.2 compatibility

[#55226210]
MetasploitDataModels::Search::Visitor::Relation

[#55226210]

Convert Metasploit::Model::Search::Query to an ActiveRecord::Relation
that can retrieve Mdm::Module::Instances using
MetasploitDataModels::Search::Visitor::Relation.
Use metasploit-model 0.5.8

[#55226210]
Use metasploit-model 0.6.0

[#55226210]
Spec MetasplioitDataModels::Models

[#55226210]

MetasploitDataModels::Models wasn't specs'd so I missed that it was
calling Metasploit::Model.autoload_validators, which is obsolete.
Re-add require 'metasploit/model'

[#55226210]

Need require of 'metasploit/model' in
MetasploitDataModels::Models.require_models so that include of
Metasploit::Model modules in app/models resolves in metasploit-framework
for Rakefile when not using Bundler.require.
Increase java memory

[#55226210]

Got OutofMemoryError with the default 256M
(https://travis-ci.org/rapid7/metasploit_data_models/jobs/10550866),
so double to 512M.
Replace deprecated mock with double

[#55226210]

RSpec issues deprecation warnings on mock and advises to use double.
Support for deprecated search operators.

[#55226210]
Update java memory for travis-ci

[#55226210]
Up JRUBY memory, again

[#55226210]
Bump JRUBY memory, again, again

[#55226210]
Up JRUBY memory

[#55226210]
Fix Mdm::Reference#designation aliasing

[#55226210]
Allow JRuby to fail

[#55226210]
[#55895840]

Allow jruby-19mode build to fail without causing the entire build to
fail until the OutOfMemory errors on travis-ci are resolved.
Merge branch 'feature/module-caching' into feature/search

Conflicts:
	Gemfile
	lib/metasploit_data_models/version.rb
	metasploit_data_models.gemspec
	spec/app/models/mdm/architecture_spec.rb
Merge pull request #36 from rapid7/feature/search

Search

[Delivers #55226210]