DATAJPA-346 - Verify that sort by property of an associated object on nested property paths work.

Added work-around for eclipselink bug 413892 to QueryUtils.toExpressionRecursively.