[WFLY-3348] Avoid spurious failures
[WFLY-3348] Close the input stream from domain deployment content additions

Conflicts:
	host-controller/src/main/java/org/jboss/as/domain/controller/operations/deployment/DeploymentUploadUtil.java
Merge pull request #6566 from bstansberry/WFLY-3348_8x

[WFLY-3348] Close the input stream from domain deployment content additions
Merge remote-tracking branch 'remotes/upstream/8.x' into 8.x