Merge pull request #176 from atlasapi/disable-audit

Allow audit logging to be enabled/disabled by config
Protect writes to lookup with hash check

This will avoid unnecessary writes if the data has not
changed.
Merge branch 'hashcode-write-lookup' into stage