Move crm query function into a shared area to allow other tests to reuse it.
Add a basic check to ensure all nodes, including remotes, in hacluster are online.