Custom exit signal support

I needed this feature in my app due to some required temporary folders cleaning, saving of unsaved settings, etc (=graceful shutdown). And I think this feature will be useful for others with same needs. For example in forever cli issue [#320](https://github.com/nodejitsu/forever/issues/320) this feature was requested.