logging: introduce new json log format with automatic severity field
Created by: uwedeportivo
addresses some aspects of issue https://github.com/sourcegraph/sourcegraph/issues/13191
allows to specify a log format with the env var SRC_LOG_FORMAT=json
which makes it log in json and automatically adds a severity field. this allows for filtering and redirecting according to severity (for example in stackdriver)