Make signal handling optional

Signals can only be handled on the main thread. This gives the option of
running s3peat on a background thread.
Merge pull request #4 from kevinschaul/master

Make signal handling optional