Added a simple implementation of heartbeats by using local filesystem.
This should be good enough for now to detect a stuck liveview process.
More complex implementation to come later. Now working on
multi-threading...