ENH: Add wide_to_long convenience function

closes #4920

I thought I submitted this PR long ago.