Refactoring jboss module to work with the Mixin

Removed datastore USERNAME and PASSWORD which are provided by
Msf::Exploit::Remote::HttpClient. Removed datastore PATH and VERB which
are provided by the mixin (lib/msf/http/jboss). Moved target detection
to the mixin.
Refactoring jboss module to work with the Mixin

Moved upload and delete methods of deploymentfilerepository to the
mixin. Removed call_uri_mtimes method as the module now uses deploy
from the mixin.
Jboss file deployment repository refactorization

Moved lib/msf/http/jboss/bean_shell_script.rb to
lib/msf/http/jboss/script.rb. Moved head_stager_jsp to script.rb.
Removed stager_jsp to use the function from the mixin.
Refactor spec to match lib/msf/jboss

Moved bean_hsell_scripts_spec to scripts_spec. Fixed a typo.
Fix problem with HEAD requests

Split lib/msf/http/jboss/script into
lib/msf/http/jboss/deployment_file_repository_scripts.rb and
lib/msf/http/jboss/bean_shell_scripts.rb as
Fixed spec for lib/msf/http/jboss

Revert commit abdd72e8c66f9da8864022adf1d489f07020356e.
Added some spec for lib/msf/http/jboss/deployment_file_repository_scripts
Fix timeout with HEAD request in delete_file
Refactor auto_target from Jboss mixin

Removed fail_with and targets from the mixin.
Refactor Jboss mixin

Use send_request_cgi and vars_get
rand_text_alpha -> Rex::Text.rand_text_alpha
Added YARD doc to the mixin

Also make a slight correction on jboss_deployementfilerepository.rb to
handle nil responses.
Added spec to new methods in Jboss mixin
Slight modifications to pass msftidy
Added spec for jboss/deployment_file_repository
Fix a typo that was preventing WAR deletion

I made a typo while refactoring jboss_deploymentfilerepository. This
typo was preventing the WAR payload to be removed after its execution.
Spec modification to allow previous commit

The spec was requiring the WAR to be at /deploy but this path was a
typo introduce while refactoring. The initial correct path is
/deploy/management
Use vars_get instead of direct URI concatenation
Test #3729
Fix feedback's review
Fix option parsing
Land #3729, @us3r777's Jboss deploymentfilerepository refactoring