build: have lint build output its log as a build artifact
build: have lint build output its log as a build artifact

The test-logs directory is archived on Jenkins as a build artifact.
If we output the lint log into this directory, it will be easier to see
the lint errors when the lint build fails.

Also changes the build script to allow lower-case build type environment
variables.

Change-Id: I0a2091ba2bb784f828161a8945bd6b54454d4d99
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1465
Reviewed-by: Jean-Daniel Cryans <4bf4c125525b8623ac45dfd7774cbf531df19085@cloudera.com>
Tested-by: Todd Lipcon <2c763d726a8c2f6afda9be7e0e56a2caa6bb5e6b@cloudera.com>

andrwng/kudu,EvilMcJerkface/kudu,cloudera/kudu,EvilMcJerkface/kudu,helifu/kudu,andrwng/kudu,andrwng/kudu,cloudera/kudu,andrwng/kudu,InspurUSA/kudu,helifu/kudu,helifu/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,cloudera/kudu,InspurUSA/kudu,helifu/kudu,cloudera/kudu,cloudera/kudu,andrwng/kudu,cloudera/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,cloudera/kudu,helifu/kudu,andrwng/kudu,EvilMcJerkface/kudu,helifu/kudu,andrwng/kudu,InspurUSA/kudu,andrwng/kudu,helifu/kudu,EvilMcJerkface/kudu,helifu/kudu,InspurUSA/kudu,cloudera/kudu,InspurUSA/kudu,InspurUSA/kudu,cloudera/kudu,InspurUSA/kudu,andrwng/kudu,helifu/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,InspurUSA/kudu