INTEXT-116: Migrate to Gradle

JIRA: https://jira.spring.io/browse/INTEXT-116

Fix all compilation and JavaDocs warnings

INTEXT-116: Addressing PR comments