ADHI-4543: Merge big refactoring into master
Finally time for a merge, this will go into nightly builds (but not in current tdaq release). Lots of changes, re-factoring, and fixes. Things should work as before, plenty of unit tests added to make sure that things remain functional. More new features will be added later.