Implement auto-inference for Java.
Created by: olafurpg
Previously, we had to manually add index configuration for Java repositories. This commit adds auto-inference so that Sourcegraph can automatically LSIF index a Java repository with lsif-java when it detects a repo with a Gradle or Maven build tool.