Reapply "WFCORE-68 move cli tests from wf to core""

Reverts wildfly/wildfly-core#176, Reapplying 172