https://issues.jboss.org/browse/WFCORE-453 Align CLI expression handling...

... with server-side handling

There is still a difference in that CLI doesn't treat $ as an escape character parsing expressions, it sticks to \ as for the rest of the line.

Thanks,
Alexey