Jboss deploymentfilerepository refactoring

Refactored jboss_deploymentfilerepository to use the Mixin lib/msf/http/jboss.
I miss documentation for the ```res``` argument