Improve alignment by reference delay
This improves the alignment by reference delay, including
- introduces static and dynamic triggers
- allows settings for every type of trigger
- takes into account detector position
This also works with new device schema and provides frame selection even if detector works in special modes (dark or pc)