Add Scalastyle linter

Squashed version of josh-newman#1 which includes changes from this revision: https://secure.phabricator.com/D10405.