allow kernel_name to be undefined in requests

fallback to KM.default_kernel_name in that case
allow kernel_name to be undefined in js

Falls back to KM.default_kernel_name,
as configured server-side.