Make the functions that use go routines pass by value
Make the functions that use go routines pass by value

* fixes race condition

Signed-off-by: Joachim Valdez <f4115f6bcd6858c277581a1d9da83b9914dce2c3@us.ibm.com>

cloudfoundry-incubator/docker_app_lifecycle,cloudfoundry-incubator/docker_app_lifecycle