Jboss deploymentfilerepository refactoring

Refactored jboss_deploymentfilerepository to use the Mixin lib/msf/http/jboss.
```unless plat = detect_platform(res)``` https://github.com/bbatsov/ruby-style-guide#unless-for-negatives