Without sbt configuration, scala behaves like jvm

Avoid code repetitions between scala builder and other JVM languages, by
applying same rules for build tool detection (Gradle, Maven and Ant)
Merge pull request #130 from gildegoma/dry-scala-and-jvm

Without sbt configuration, scala builder should behave like other jvm languages