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

Avoid code repetitions between scala builder and other JVM languages, by
applying same rules for build tool detection (Gradle, Maven and Ant). 

By DRYing this, cases like #126 are easier to maintain.