exit gracefully on SIGINT

This makes it easier to use `pouchdb-server` in a test runner
so that you can be sure it exited cleanly.
Merge pull request #29 from grncdr/patch-1

exit gracefully on SIGINT