Adds word wrapping on Pixi.TEXT.

This wraps lines of text using a greedy algorithm that optimizes for
fewest lines of text given an arbitrary horizontal space.