receiver,slugbuilder: Fix envdir support

Closes #483

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
test: Add integration test for envdir support

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Merge pull request #492 from flynn/env-dir

Fix buildpack envdir support