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

Added test case to verify that query with sort on a property path correctly produces a left outer join.