Added field max_available
Added Ticket and CurrencyUtil
Add Ticket API in EventManager and Event.