Fixed WITHIN GROUP ORDER BY extension
fixed Connection class, merged changes from master