SW 2.11: Add additional safety checks to LoopInterrupt system:
* Limit number of resumes to 20, just in case the user wrongly uses
  the functions and doesn't actually read out the data
* Add LoopId to check if the same loop is about to be resumed. If
  not, reset the interrupt and start from scratch.
* Add LoopInterruptReset() in Daq_Close(). When restarting a DAQ we
  definitely want to restart the Loop from scratch.