Propagate hubId through constructors.
Added option to loop through data taking for multiple iterations to avoid buffer overflow.

Added option to count hits rather than ADC.
Added getHubId()
Added hubId to api instance.
Added parameters to DAQ test.
Merge branch 'master' of github.com:psi46/pxar