Suggestions for filter encoding

There shouldn't be any need to call `ol.expr.parse` from within the library.  Instead, we can build expressions directly with the constructors.

If this makes sense to you, I'll finish the review and add any other suggestions to this pull request.