Make ignoring of SIGHUP optional

Continues #3

- Set the default to `True` for backwards compatibility
- Add a test for both options