Signal handlers use atomics

Changed the unix signal handler used to allow an external user to tell cmsRun to stop processing. The signal handler used to use a mutex but now uses an std::atomic. 
Removed some obsolete code which was related to the signal handler.