Make DeployCommand extends BaseDeployCommand now that it's lighter
Move getBefore and getAfter in the public domain
Do the server tests on an actual filesystem