Add Docker link style env vars to link containers to services.

Did you mean to do multiple appends? If so, suggest that you do them in one line.
result = append(result, api.EnvVar{Name: name, Value: value}, makeLinkVariables(service, machine)...)