Moved application of component meta-data rules out of ExternalResourceResolver, and up higher in the resolver chain.
Validate component status after applying the meta-data rules.
Removed the rawMetaData property.
Added a little test coverage for dealing with meta-data rules that tweak the changing flag.
GRADLE-3032 - Reworked the pattern matching algorithm, to fix matching of '**/*'.

- Split PatternStep into PatternStep to match single path segments and PathMatcher to match paths with zero or more segments
- Generalised the special case NameOnlyPatternMatcher. Should mean that any pattern with a non-trailing '**' is now more efficient.
GRADLE-2982: POM dependency management declarations with import scope shouldn't be overwritten by declaration of element group/artifactId/version with different scope.
Tweak Travis build definition to not output ANSI control codes.
Added a bit more coverage for PatternMatcherFactory.
Update to Ant 1.9.3
REVIEW-4351: remove redundant imports
REVIEW-4351: use expect() instead of allowAll()
polishing
REVIEW-4271: replace various metadata allow/expect methods with getModuleMetaData()
Revert "Temporarily ignore all tests that compile windows resources"

This reverts commit aa464f7e9bc35b260123bea0633afd5359acbf09.
clean up expectations
Inlined getPomDependencyMgt() and renamed some fields.
Reworked ArtifactDependencyResolver so that a mutable ResolverResults is passed in to the resolve() method rather than returned from it.
Be a bit more aggressive when cleaning up stale cache directories
- Delete taskArtifactState cache where major version is older than executing version
    - This behaviour remains as before
- Delete intTestHomeDir/worker-1 caches where version is snapshot and is older than tested version
    - This means that if we test a new incoming distribution, then test an older one,
      the older caches will need to be repopulated
    - Note that this does not impact the artifact (repository) cache
REVIEW-4306 Preserve task order when building selectors and hide implementation details from TaskSelector.
Fix selector build: make hidden part of TaskSelector API visible on consumer side.

This way selector build can be run from ToolingAPI 1.12+ on any provider.
Optimized selector build for 1.12+ provider will follow.