Add Wildfly build plugin and change build to use this instead of ant scripts

This also introduces the wildfly core module that is used as part of the core build
Fix up missing dep
Don't set permissions on windows
Fix test to use configs from installation rather than build path
Fix rebase issue
Fix build ordering
Merge pull request #6377 from ctomc/wildfly-build-plugin

Core build split, stage one