Don't use Java 7 API.
Fixed int test for Gradle 1.6.
Verify tooling API downloads distribution into specified user home dir.
Tweak to test setup.
Changed some tooling API int tests so they work in embedded mode.
Minor changes for BuildInvocations construction.