Add function to word wrap long character vectors

This functionality is very useful in plot legends for instance.

Not sure if there is any active development on this package, but I thought I would send the pull request anyway...