Remove unnecessary getPlugins() from Script.

Not needed, and shadows Project.getPlugins().
tweak *Try message for wrong used commandline options
REVIEW-3412: Added unit tests that demonstrate correct parsing and handling of a POM relocation element.
Fix import and Javadoc.
REVIEW-3412: A dependency defined in a parent and child with the same group ID and artifact ID needs to be picked from the child.
Keep track of test ids only for test methods that are currently running.
Increment the result format version.
Removed some unused things.
Javadocs.
- Renamed Encoder.writeSizeInt() to writeSmallInt() and Decoder.readSizeInt() to readSmallInt().
- Added small long variants as well.
- Added Decoder.skipBytes() and added a more efficient Decoder.getInputStream().skip() implementation.
Use Encoder and Decoder implementations to serialize test results.
Added methods to query the current read and write position of a Decoder or Encoder.
Changed TestOutputStore to use the Kryo backed Encoder/Decoder to write test output events. This means that buffered reads will be used when streaming the events back from the file and less garbage is created per test event.
Ensure that ToolChain implementations are correctly decorated
Don't expect Clang or GCC to be available for windows unit tests
REVIEW-3412: Reflect changed dependency order in user guide example.
REVIEW-3406: get rid of unnecessary comparator
REVIEW-3411, REVIEW-3410 cleanup HelpTask --task handling.
- introduce CommandLineOptionReader for reading commandline properties from task classes
- introduce FailureResolutionAware and TaskConfigurationException for providing resolution messages directly from exception context.
- Tweaked DefaultExceptionAnalyser to directly pass through exceptions implementing FailureResolutionAware

- TODO: In the long term in might make sense to get completely rid of the special handling of TaskSelectionException in BuildExceptionReporter. Started on that by letting TaskSelectionException implement FailureResolutionAware
Javadoc and license.
Wire up application of core plugins in plugins {} block.

Semantics currently match existing plugin application, not intended as outlined in spec.