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
Merge for retab
Retab changes for PR #2273
Merge pull request #2 from tabassassin/retab/pr/2273

Retab/pr/2273
Fixes issues based on feedback

This commit addresses comments made by @jvazquez-r7.
Added /AdapterFramework/version/version.jsp
Added URL for PT-2013-13/SAP Note 1820894
[FixRM #4398] Report credentials to database
[FixRM #4397] Add reporting for energizer_duo_detect
Add missing require for Msf::Exploit::Powershell

Thanks for the report, @mubix.
Land #2586 - require 'msf/core/exploit/powershell'
Land #2583 - Report creds to db
Delete newline
Land #2568, @h0ng10's update of SAP url's wordlist
Clean owa_login enum_domain feature
Land #2273, @kaospunk's enum domain feature for owa_login
Land #2584, reporting for energizer_duo_detect