DATAREDIS-265 - Update Java source and target compatibility to Java 6.

Updated build.gradle accordingly.

Original pull request: #36