WFCORE-68 move cli tests from wf to core

somewhat cleanup testsuite & make it work better under ipv6
as it still causes problems for me locally. I will revert it but i hate this. @dmlloyd can we pretty please upgrade to jboss-modules 1.4?