You could have a compatible and enough capable wireless router with the third party firmware dd-wrt or tomato loaded.
This firmware allows you to limit speeds per user and use different limits for different types of traffic.
Just make sure you get a router that will cope with the task. (The speed isn't too high, but you'll need a lot of ram to, since the built-in tables may grow big when you have so many users doing a lot of different stuff.)
But with more than 50 users, I think it's better to get a specialized solution with corresponding functionality. Search for "free firewall software", you'll find a lot, filter through due diligence and go ahead.
Afterwards, we'll be eager to read about your learnings.