GS-11759
Enhanced max/min to support comparable instead of number.
enhanced select to support multiple aggregations.
added tests.

git-svn-id: svn://pc-lab14/SVN/xap/trunk/openspaces@185642 eb64e737-3616-4df0-8941-5ee2ae88103d