Rewrapping for non-RFC input text

Okay, so it took a month longer than I hoped to come back to this, but Christmas miracles do happen and I think this may be sufficient to make merry for the people in issue #23.

I'm not amazingly happy with how it ended up working, but from what I can tell, the unwrapText() function is the only decent place to do it because all of the original context is present.

The unittest should work, only I can't get any of them to run (runtime failures; didn't chase too hard on that, so I won't be surprised in the slightest if it's my fault).  I think I meant to add more, but I can't for the life of me remember what they were right now.  I just want to at least get this out so I can stop being one of those bums who writes a lot but never puts up code.