Coopr 581: Implement node hours REST API

this logic is incorrect.  We need the time that nodes have been live.  This is calculating total time spent performing tasks.