Fixed error when pidfile variable is not set in config file.
Merge pull request #139 from jaredbischof/master

Fixed error when pidfile variable is not set in config file.
Send error message when pidfile is specified but cannot be created.
Quitting server launch now if any of the configuration setup fails.
Merge pull request #140 from jaredbischof/master

Quitting server launch now if any of the configuration setup fails.
debug info
debug info
Merge branch 'master' of https://github.com/MG-RAST/Shock
debug info
debug info
two shock urls
show progress
Added download_raw option to download the file NOT as an attachment as the download option does
Added missing config parameter to config file.
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.
Removed print statement of error message from db.Initialize because this error message should be printed by the code that called db.Initialize().
Added error return field to these functions so that these functions are called by goweb 2 when they are supposed to be.
Added return statements when appropriate.
Merge pull request #142 from jaredbischof/master

Mostly config and error checking updates and improvements.
Updating config file.