CHEF-1761: Exit gracefully on SIGTERM
(cherry picked from commit 079ac748c314116c7a78249b2800b52de82ac370)
CHEF-1761: Initialize @exit_gracefully in Chef::Application::Client
(cherry picked from commit 974bf59a226c56e4612558652b31866f19ed7d3e)