Changed behavior when reloading node state from database. Now, if we
find a node that we already knew about, and it hasn't changed state or timestamp, we just use the old entry. This allows us to still notice new nodes, or nodes that have had their state changed externally (say, by hand), but not forget about nodes we've already sent mail about.
Showing with 18 additions and 4 deletions