document that a new Python thread context is created in ctypes callbacks (closes #6627)

Patch by Nikolaus Rath.
put notes in a ..note section