Fix most lint warnings and enable linting in build

There are still a couple deprecation warnings that should be fixed by
not using deprecated classes in BoxConnectionManagerBuilder.
Merge pull request #166 from gcurtis/fix-warnings

Fix most lint warnings and enable linting in build