Implement context-preserving threads

This patch causes all pwntools-internal threads to preserve context, which is useful for logging.

Fixes #101