Refactor stats to avoid bad join

Refactor compute node methods to remove slow join with compute node
stats.  Stats are encoded instead in a single json/text column.

Implements: blueprint compute-node-stats-as-resource-tracker-extension

Change-Id: I1651d758dd21c87ccd768fdd86c910ec5080c71c
Merge "Refactor stats to avoid bad join"