Annotations: remove obsolete group checking code
Annotations: fix pagination for datatables

This commit makes sure the correct total number of records will be returned on a
datatable query. Now pagination works for user, annotation and neuron tables.