Revert "Remove guessMaxParallelForks"

This reverts commit 0940b94841e860e4063bc6b4a51bd9117befc8ab.
Revert "Revert "SEC-2435: Update to Gradle 1.10-rc-2""

This reverts commit 4b6b2c51d561bb07651b20afc0c446f6a7ac02a9.