Improve support for JavaScript-style expressions in ArrayEvalFilter

This series of commits improves support in ArrayEvalFilter for JavaScript-style expressions.
We use this internally at Promptu, I'm hoping you can pick this up so we don't have to maintain separate patches. The changes do no break any existing tests and enabled us to uncomment some assertions that were commented out in ComplianceTest.test_four().