agent: refactor config setup into method
agent: refactor to avoid monolithic method
agent: fixing replay inversion
agent: fixing test
agent: Adding flags to control signal handling
agent: Seperate Leave from Shutdown
agent: switch to handling signals internally
agent: handle signals directly for configurable behavior
website: document the signal controls
agent: make ShutdownCh recv only
Merge pull request #88 from hashicorp/f-signals

Configurable signal handling