Fixed int test case for Gradle versions <= 2.2.

Changed the DaemonFixture implementation to handle daemons that are not from the current (under development) Gradle version.
Don't run this test for Gradle versions < 1.8
Fixed tooling api test fixtures to work with 2.2-rc-1.