define kernelpath for clientside notebook manager
return API path instead of filesystem
Clean up get_kernel_path logic
Merge pull request #7078 from takluyver/kernelpath

Rework get_kernel_path logic