Fix BL-786: cursor half out of the box, typing does nothing

The problem is a regression; we previously had a workaround that was
causing a different problem and was recently removed. This time around
we insert an empty <span> to give gecko some bearings so it doesn't
focus on our language qtip. We then remove the span when leaving the
box.
Merge pull request #173 from BloomBooks/BL-786TextFocusProblem

Fix BL-786: cursor half out of the box, typing does nothing
BL-785: prefer to find xMatter files in Factory XMatter

This is the original source for files that are copied to other
places in individual templates that are also distributed
with the application. We want live editing to use the most
original version so we see changes when editing that.

New tests and other changes try to document and
preserve other orderings we care about.