[AS7-6808] Auto ignore irrelevant domain resources on slave

For Brian to merge only!!!

I expect to have to go through at least one round of discussions and fixes with Brian before this can be merged. https://issues.jboss.org/browse/AS7-6808 explains briefly what is done.

https://issues.jboss.org/browse/AS7-6809 and https://issues.jboss.org/browse/AS7-6810 contain suggestions for further work.