This PR contains some refactoring for printing the executor logs in Jupyter.
Heartbeat messages between trials without data were previously simply discarded, now they can contain logs, so this is being taken into account with these changes.
It also works with Hopsworks versions without the maggy Rest api
This PR contains some refactoring for printing the executor logs in Jupyter.