pdfgen enhancements, consolidates authentication files

This pull request makes many fixes to pdfgen after a lot of trial and error on my part to figure out both how to allow images and css in our pdf templates and to allow concurrent requests that generate pdfs which were failing before. I wrote a test program that used the "curl" command to make 20 concurrent requests for the tool report and it failed miserably.

This also makes a change to the authentication for the database and email module. We now have a single `auth.json` file now located in the root directory. This is a combination of the two `auth.json` files we had previously and it works the same with the included SAMPLE. `.gitignore` has been updated to ignore this new auth.json file.

I added a `config.json` file to the root directory as well which contains default static configuration options that are passed into the call to `app.locals` in `app.js`.