Gradle build detection and testing for Scala.

Previous logic was:

```
if build.sbt exists
  sbt ++2.9.2 test
else
  mvn test
```

New logic is:

```
if build.sbt exists
  sbt ++2.9.2 test
else if build.gradle exists
  gradle check
else
  mvn test
```