set kernel cwd to notebook's directory

closes #4424