Pass host environment on to kernel

The main motivation for this was to make PYTHONPATH settings
apply to the kernels.
Merge pull request #2878 from robyoung/master

Pass host environment on to kernel