spec: Fix duplicate removal.
Icinga 2 Export: Sanitize trailing whitespaces/tabs on timeperiod keys.

Refs #2406
Merge branch 'fix/i2-tp-spaces-2406' into next

Fixes #2406
Fix generated host check name for Icinga 2 export.

Refs #2402