Abstract aggregation functions and social choice