set kernel cwd to notebook's directory

closes #4424
Merge pull request #4426 from minrk/kernel-cwd

set kernel cwd to notebook's directory