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.

I think it'd be preferable to read the json and avoid the query.  The query would need to be run once.