Added system null to distinguish between empty stream and null in aggregate functions. Changes sum aggregate function to use system null properly. Other aggregates to follow.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_fix_agg@523 eaa15691-b419-025a-1212-ee371bd00084
10 files changed