Changed ProcessBootstrap to assume the main class is-a EntryPoint.
Extracted a ForegroundDaemonAction out of DaemonMain and changed DaemonMain so that it does the command-line parsing in run() rather than main().
Fail the build early when org.gradle.java.home points to a java 5 installation.
Fixed the ide launcher for recent API changes.