Trim text on the way into elasticsearch

Most article text seems to come up with a hand full of trailing spaces.
Trim it to save a tiny bit of space and time.

Change-Id: If42b751257b9727869f5b9d7b18a5608e3ca421a