Starting to refactor heart beating of notebook kernels.
More work on the heartbeat.
Made is_alive a method of KernelManager and MultiKernelManager.

It was a property, but it is better suited as a method now.
Added tests in both the KM and MKM case.