add support of subquery in projection
Add subquery support to order clause and fix other small bug.
fix bug on path generation.
refactor method names, sorry for my english
Moved test class.