Merge fix-order-by-expressions-in-ref-set [f=620369] [r=therve]
The bug was introduced by the change in r358, which makes the order_by
parameter of the ReferenceSet be processed by PropertyResolver. This branch
tries to address the issue by making the PropertyResolver handle not only
Storm classes, strings and Columns, but also expressions.