Max participants not respected by priceset registrations
Issue: When trying to register multiple people using additional registration functionality (which uses profiles), user is given error if multiple registrations would exceed the maximum.
However, if a priceset is used to order multiple tickets, no warning is given and the number of participants ends up going over the maximum set for the event. Once the maximum has been reached (or exceeded) appropriate warning/error is given for both configurations: additional registrations as well as priceset registrations.
Confirmed on dmaster.
Fix: Give same warning when registering multiple participants via pricesets as when registering via additional participants.
Guess: Priceset registration code could probably benefit from refactoring to reuse some function of additional participant registration code.