Jboss deploymentfilerepository refactoring

Refactored jboss_deploymentfilerepository to use the Mixin lib/msf/http/jboss.
I start to feel like severals methos on deployment_file_repository_scripts and bean_shell_scrips are quite similar. Maybe worths to refactor to avoid duplicating things.