Add criteria and integration for automatic boot assessment

In !75 (merged) we are adding a setup in which we rely on a custom image-based OS in an A/B fashion.

Following automatic boot assessment we need to define criteria, which signifies a successful boot and reboot otherwise.