Added abstract paging and filtering for data

Added new method to the base controller, to extend data querying.