Parse the diagnostics to check for errors during the self_test

Parses the diagnostics aggregated topic. Check if some values are within a certain interval (for example jitter), or simply if the status is OK (for example for the Bridge).

To test it: make test