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.
Merge pull request #143 from jaredbischof/master

Updating config file.
Fixed config file variable.
Merge pull request #144 from jaredbischof/master

Fixed config file variable.
Merge pull request #141 from wgerlach/master

debug info
Added config variable for mongo timeout.
Merge pull request #145 from jaredbischof/master

Added config variable for mongo timeout.
hard-coded higher mongo timeout
merge
Explicitly setting returned content-type.
Removing that is not present and not necessary.
Explicitly setting JSON codec as only response type.
Merge pull request #146 from jaredbischof/master

Explicitly setting JSON codec as only response type.