Update to use gradle v2.2.1

Update to use gradle v2.2.1 and update build.gradle accordingly. #16
Merge pull request #17 from couchbase/feature/issue_16_gradle_2_1

Update to use gradle v2.2.1