WFCORE-68 move cli tests from wf to core

Replaces #177
Additionally adds legacy system property fallback so WildFly full build wont break.
I consider this as temporary fix until we get full testsuite in sync.