Check node state after reboot

When node is back after a reboot, a chef-client run is triggered by
crowbar_join. Wait until the chef-client run finished and check that
the node gets back to "ready" state to be sure that the whole reboot was
successful.