Use BreakIterator.getWordInstance instead of BreakIterator.getLineInstan...

...ce to find breaking points in text.

As discussed here: https://groups.google.com/forum/#!topic/flying-saucer-users/qKol3scrEVY

@kmtong Can you please have a look at this? Thanks