minor cleanup on customComponent sample

+review REVIEW-5208
remove accidently committed test output

+review REVIEW-5208
Fixed resources.text() problem

All instances where I've applied the fix call for coverage. Bugs like to cluster so let's get this covered. I needed to fix this otherwise I cannot use master Gradle with my builds. Not sure whether this problem also exists in the release branch.
Fix integration tests.
Split plugin application handling from plugin querying

+review REVIEW-5214
Add ability to query for plugins and rule sources by id

+review REVIEW-5214
Add caching to ModelRuleSourceDetector

+review REVIEW-5214
Javadocs.
Changed int test to use the daemon test fixture instead of driving a DaemonRegistry directly.
Introduced a factory to create DaemonClient instances, to allow some reuse of various services.
Don't need to use the plugins classloader for messaging services.
Changed DaemonLifecycleSpec to use Daemon test fixture and removed GradleExecuter.daemonRegistry property.
Changed daemon client wiring so that the client shares services from the environment it is running in.
Removed embedded daemon GradleExecuter implementation.
Changed daemon startup handshake so that daemon sends back its id and port, in addition to pid and log file. Changed DaemonStarter to fire an event when a daemon is started.
Changed tooling api provider to log the ids of the daemons it will stop on shutdown. Doesn't actually stop them yet.
Moved a test case between test classes
Extracted DaemonStopClient out of DaemonClient.
Daemon sends its full address back to starting process on start up.
Need to use forking mode for this test.