XWIKI-8455: LOWER function in ORDER BY and GROUP BY clause do not work with XWQL.

* Add support for lower, upper, abs, etc... functions in ORDER BY and GROUP BY clause.
* Add new tests for it.