make EventBatchHandler an EventClient
use lua default's PRNG, streflop is slow and not needed in unsynced code and synced uses gs-> one
remove event batching from lua for now
it clutters the code, will reimplement it as part of EventBatchHandler
reduce code duplication