A C++ version of melt.data.frame

Hi Hadley,

I've implemented a C++-version of `melt.data.frame` here. Take a look and let me know what you think.