Sramp 507

https://issues.jboss.org/browse/SRAMP-507
This is like i told you before, needs maybe a big refactoring, to put common things between the DeployCommand, wagon and the repository servlet.