Change epicsStopEvent to atomic flag. Add buffer. Add array attribute
EpicsEventTryWait has an overhead of 50 microsseconds per function call. We changed this to using an atomic flag that tells the driver when to start/stop. We have an improved performance of orders of magnitude.
Added a FIFO buffer to store ngem events since doCallbacksGenericPointer() is slower than the actual read from the socket.
Added array attribute with number of events in this->eventsToSend because NDPluginSchemas doesn't know clearly how to get that from the NDArray only.