misc "domain management" fixes

https://issues.jboss.org/browse/WFLY-2105
https://issues.jboss.org/browse/WFLY-1309
https://issues.jboss.org/browse/WFLY-1997
https://issues.jboss.org/browse/WFLY-547
https://issues.jboss.org/browse/WFLY-669