Added code to exit shock server gracefully if mongo is not available. Added code to check for existence or at least creatibility of config defined directory paths.
Added code to exit shock server gracefully if mongo is not available. Added code to check for existence or at least creatibility of config defined directory paths.

MG-RAST/Shock,MG-RAST/Shock,wgerlach/Shock,teharrison/Shock,teharrison/Shock,wgerlach/Shock,teharrison/Shock,wgerlach/Shock,MG-RAST/Shock,wgerlach/Shock,teharrison/Shock,teharrison/Shock,wgerlach/Shock,MG-RAST/Shock,teharrison/Shock,MG-RAST/Shock