Add background thread support
Merge pull request #7 from bugsnag/background-threads

Add background thread support