Add env to the kernelspec __init__

the env attribute was added to the kernelspec and the kernel.json file, but has an error when you try to use it because it's not in __init__
Remove kernel spec __init__ completely

Thanks to @minrk for the code suggestion.
Merge pull request #6335 from jasongrout/patch-7

Add env to the kernelspec __init__