HeppyCore: local multithread fixes:
- get exception stack traces when running multithread,
- support non-pickleable configuration with multithread
  (needed for the AutoFillTreeProducer in Heppy)