Scalastyle linter

Changes contained in this Arcanist revision: https://secure.phabricator.com/D10405.