INT-3241: Upgrade Gradle and some dependencies

JIRA: https://jira.springsource.org/browse/INT-3241
INT-3253: Get rid of EasyMock dependency

JIRA: https://jira.springsource.org/browse/INT-3253