Start reworking of PixTestSetup.
Merge branch 'master' into pixtestsetup

Conflicts:
	tests/PixTestSetup.cc
	tests/PixTestSetup.hh
Beautify code of PixTestSetup a bit.
Move to new scheme of counting all good headers in 10 triggers.
Seems to be more stable.
removed SetParameters() call to avoid redundancy

In agreement with Urs.
PixTestSetup:
* rework algorithm to find best setting: use GetMaxBin()
* Write parameters to tesboard and file. I don't know how to update
  the h/w Tab - that always shows the old values...
API CHANGE: daqTrigger() and daqTriggerLoop() now provide the used period
as return value. Should not break backwards compatibility since the return
value can safely be ignored.
Merge branch 'master' of github.com:psi46/pxar
Merge pull request #154 from simonspa/pixtestsetup

Reworked Pixtestsetup
Remove obsolete comment from api.h