allow 'default' in aggregate/2; added test case
improved histogram docs