Merge pull request #1 from neiser/master

Outputing TotalDeadtime for tagger scalers (firmware 7d)
Use GateGenerator for PID/RefTDC L1 output. Disadvantage: Minimum Width=2, Advantages: No glitch an trailing edge (firmware 7e), jitter-free gate width for PID
Improved but not perfect GateGenerator. Synced version is still one clock cycle longer in roughly 0.1% of the cases...