extracted the TribeEventsGlobalTicketStock class
set up functional testing
added more tests and made sure global stock meta is properly handled