Upgrade to Gradle 1.6 and resolve deprecations

This patch upgrades Gradle to 1.6 and resolves related deprecation
warnings.

Issue: GAP-144
Merge pull request #2 from sslavic/GAP-144

Upgrade to Gradle 1.6 and resolve deprecations