Modified clock to process callbacks in the proper order
Modified clock to process callbacks in the proper order

Callbacks that are triggered during the same tick are called in event
time order. A priority value has also been added for callback order when
events are scheduled at the same time (higher called first).

missionpinball/mpf,missionpinball/mpf