Handle translating of text.

- Moved to using a Text object similar to a path object.
Add a test on merging empty bounds.