Support for version 5.0 of IPython message spec
Chdir into notebook's directory at kernel startup

Consistent with ipython handles notebook instances and avoid unexpected errors
when using local files or modules.