WFCORE-68 move cli tests from wf to core

somewhat cleanup testsuite & make it work better under ipv6
A space got dropped and I suppose that will cause problems if ${jvm.args.ip.server}${jvm.args.security} are both used.