added start and end parameter support to aggregate endpoint

@mgbelisle 
Atoi