Make MVEL way faster

Using ".empty" in MVEL is slow when fields are actually empty.  Instead,
use ".isEmpty()".  Against enwiki I measure an order of magnitude performance
improvement on queries that hit lots and lots of results and can't push
the script scoring in the rescore.  3 seconds down to half a second.

Backport of Idd394ddc9477fced9130c0aab6f787eb2510f6dc.

Change-Id: I9afcd86f03148338503745f85743674809a0bb94