Added max capacity function for groups and added '/capacity' route to show fullness of groups.

route to get max_cap is ''/cap/group". It'll return a json file.

isn't it safe to have it incase the search fails? Then cur_client_count wouldn't be defined