finally finish off melt_.data.frame implementation.

This was far less painful than I expected it to be. I'd like to thank
past Kevin for writing code that was easy to extend.