Fix dib-lint failures

As part of an ongoing effort to apply more testing against
elements, this patch provides fixes for most dib-lint
failures outside of the set -o pipefail patch[1] including
set options, indention, and file permissions.  There are
still a few indention errors left after this patch, but
they should be ignored in a dib-lint patch soon to add
additional exclusions.

[1] Ib97e3a35dd0ee653f1298c9ffe6ea99cea9dfd55

Change-Id: Ibf3dfc5735752900598466b0a54342692ef77284
Merge "Fix dib-lint failures"