Improved metric labeling

Now the plugin will read `device/tempX_label` files (if they exist)
in order to get more descriptive metric names. Also, the initial
code was pretty gross and brittle, this should be better.