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.
* Add clirr exception because JPQL code generated by sablecc has changed and is not internal (but it should).