Multipart strings

@stepchud These are the changes I was talking about. I basically pick and chose some methods from the master branch of mail to give us some added functionality, without upsetting some of the parsing we already had.