Added common method to get 'files query cur' and 'pagination cur' based on diff parameters
Implemented mongokit pagination in File app for 'All Files', 'Documents', 'Images'