Fix wrapLine() for string with no spaces or wrapping chars

If no spaces or wrapping characters were found in a string then the
method would return a blank line. Add a simple check to do the right
thing if no wrap points were discovered.

Also, add a test program for the wrapLine() method.