Update scalastyle linter

Now uses the scalastyle binary before launching the jar with java.
Add a `private` helper for computing whether the `scalastyle` binary exists, rather than doing it inline here. Then it can be used below, too.