Fix a race condition in SetAdditionalStackDepth

Plus various go vet issues, and patching up tests that refer to the package name of seelog