Preserve classes of measure variables in melt.data.frame (#21)