Enumerate AD Domain via NTLM Authentication

Add functionality to attempt an NTLM auth against common directories
to try to enumerate the AD domain. If a domain is found this will be
prepended to the authentication requests, otherwise it's business as
usual.
Minor fixes to syntax and error handling
Domain enumeration put in own function

The code to enumerate the AD domain is now in its own function

Additionally, a new advanced option has been added which controls
whether or not the domain enumeration will occur so that if it is
not wanted the user can disabled it. By default this is set to
enumerate the AD domain.

If AD_DOMAIN is already specified then this will be used and no
auto enumeration will occur.
Removed blanks at EOL

Fixed blanks at EOL per msftidy messages
Default to exe-small
Merge for retab
Retab changes for PR #2320
Merge for retab
Retab changes for PR #2273
Merge pull request #2 from tabassassin/retab/pr/2273

Retab/pr/2273
Merge pull request #9 from tabassassin/retab/pr/2320

Retab/pr/2320
new payload
add payload source
Merge https://github.com/rapid7/metasploit-framework
New Shell Bind TCP Random Port Payload (x86_64)
New Payload

Merge remote-tracking branch 'origin'
msfconsole 'edit' command

Useful for quick editing a module during development / bug fixing. I
don't really see a security issue with running a command defined in the
user's VISUAL or EDITOR environment variables;  if the user can run
msfconsole to begin with, there are better ways to get into trouble.
Use Rex::Compat.getenv instead

Also, this would deprecate out the editor plugin.
Remove the editor plugin.

Sorry, @jcran, didn't see that this was available. Turns out, this
feature is almost identical to the editor plugin, so this effectively
promotes 'edit' to a first class command.
new exploit module for CVE-2008-2286, Altiris DS