changes to the timeout check API

checkTimeout()/checkTimen() now return the node number instead of IP
address
checkTimeoutSelf() removed because checkTimeout() now serves the same
purpose.
nodeState() added and documentation