Added support for sub-text-node translation

Given an element such as:

<div lang="en">Hello <span><img></span> Goodbye</div>

The new system can match "Hello" to a translation and "Goodbye" to a translation. Leading and trailing whitespace is removed before checking for a match.