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

Hi Hadley,

Here's a patch that preserves classes in measure variables on melt. Let me know what you think.