Refactored aggregation code, added check for unique aggregation socket id.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop
Fixed a few aggregation bugs.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop