Add generate_war to jsp_shell payloads
Refactor JSP payloads
Avoid initial spaces on the JSP

So the jsp isn't affected by changes on the framework indentation standards
Use the current msf's naming convention
Move the require to the payloads as ruby and nodejs payloads do
[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.
aux scanner support
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
Save progress
This one looks like is working
Merge the broken module fix because it's annoying
Change default thread count
Was playing with ms08_067 check and realized I forgot this print
Add module for CVE-2012-0394
Delete privileged flag because is configuration dependant
Check argument
NoMethod check and stuff
Allow send_request_cgi to take care of the uri encoding