OF-1705: Don't update NodeID when there are no changes.
In recent versions of Openfire, the server NodeID does not change when joining/leaving a cluster. If that's the case, then there's no point in interating over all cache entries - which will only take up resources.
OF-1705: Update NodeID in ClientRoute
The ClientRoute class contains a reference to the server NodeID. This value must be updated when joining/leaving a cluster.