Experimenting with splitting up the logging of the request URL.
Adjust elasticsearch config for the path hierarchy field.
Stub DNS lookups in the tests.

This makes the tests more predictable despite network issues and also
allows the tests to be run offline.
Merge branch 'master' into log-urls
Lots of updates to the elasticsearch logging stuff:

This commit has gotten a bit unwieldy but it contains the following:

- Log a few additional header fields: Accept, Connection, Referer,
  HTTP basic auth usernames, and the user's registration source.
- Fill in the API key and user details if possible when dealing with
  only nginx logs (so when the gatekeeper wasn't being hit)
- Switch from 'elasticsearchclient' to the new, official 'elasticsearch'
  library. The new library made bulk search/scan easier.
- Change the elasticsearch index names to contain the current
  environment (development, production, etc). This is so we can use the
  development elasticsearch database for unit test data without stepping
  on each other's toes.
Fix log cleaner handling in migration script.
Fix alias name.
Perform index optimization after migration.
updated 'Running API Umbrella', added link
Merge pull request #2 from dukex/patch-1

updated 'Running API Umbrella', added link
Bump mongo to fix migrate_logs errors. Small migration tweaks.
Merge branch 'master' of https://github.com/NREL/api-umbrella-gatekeeper
Fix for hourly elasticsearch index check.
Fill in default null values in logs to fix statistical facets.
Revert "Fill in default null values in logs to fix statistical facets."

This reverts commit 1293cbf5992ccd527d456472e305f1cb1e0709bc.
Force definitions of integer columns to fix missing mapppings.

This fixes statistical facets on indexes where these fields have no values (so
the mapping never gets created).
Fix missing logs api key is missing.
Add sanity check script for logs migration to compare counts.
Merge branch 'master' into gsa