Refactor: scheduler: functionize unpacking node state better
unpack_status() was large and a bit difficult to follow, so separate unpacking
the node state and unpacking a cluster node's transient attributes into their
own functions.
Aside from formatting and log message tweaks, the code remains the same.