common: use daemonic threads only in the Python shell

Please note, that the Python interpreter shutdown w/o `IPRoute.release()`
of `IPDB.release()` is permitted now only in the interactive mode.

In scripts, it is required to call `.release()` routines before exit.

Bug-Url: https://github.com/svinota/pyroute2/issues/59