[FixRM #8749] - Make spawn_meterpreter respect lport/lhost options

[FixRM #8749] Basically the spawn_meterpreter script doesn't
actually allow the user to set their own LHOST/LPORT datastore
options, because they come from the session object, not from the
active module or the framework object.

The fix is to allow the user to config them from framework. But
if they forget to do this (because naturally people probably
assume that active module datastore options are the same as the
ones set in framework), then for LHOST, we default whatever we get
from Rex::Socket.source_address. As for LPORT, we'll pick a one
that's not used by any of the sessions.
Use opts hash for adobe_pdf_embedded_exe

https://dev.metasploit.com/redmine/issues/8498
Use opts hash for glassfish_deployer

https://dev.metasploit.com/redmine/issues/8498
Use opts hash for h323_version

https://dev.metasploit.com/redmine/issues/8498
Add module for CVE-2012-0394
Delete privileged flag because is configuration dependant
Allow send_request_cgi to take care of the uri encoding
Added new module.  Abuses tomcat manager upload page.  Tested on tomcat 5.5.36, 6.0.37, 7.0.50, 8.0.0rc10
Fix missing colon in :caller_host symbol

Good catch, @jvazquez-r7!
added SkyBlueCanvas CMS 1.1 r248-03 RCE
added ManageEngine Support Center Plus directory traversal auxiliary module
Clean up unused variables
Clean metadata and use TARGETURI
Clean query_manager
Do a first clean related to auto_target
Fix in_super-reliant msftidy checks

The conversion from hard tabs to two-space soft tabs broke a few checks.
Do easy cleanup of exploit
Delete Automatic target

It isn't usefull at all, when auto targeting is done, the payload (java platform and arch)
has been already selected.
Allow check to detect platform and arch
Do more easy clean