core/thread: use disableIRQ/restoreIRQ
doc: document internal cib init macro
Merge pull request #2138 from OlegHahm/doxygen_fix_core_warnings

doc: document internal cib init macro
Merge pull request #2108 from LudwigOrtmann/thread_new_irq_api

Thread new IRQ api