Update most APIs.

Updates the majority of the APIs OCS uses.  The Machine sensor's half of the TE utilities file is still broken; I'll be looking into a fix for that as soon as I can.  If I can't get the energy usage data again, I'll probably just drop the machine sensor support for TE and leave just the energy sensor support for TE/RF machines.