WFCORE-68 move cli tests from wf to core

somewhat cleanup testsuite & make it work better under ipv6
Because of this https://issues.jboss.org/browse/MODULES-194