Coopr 581: Implement node hours REST API

Also, the better you organize it, the easier the unit tests will be.