fix ktest to use JCommander

The last of the refactorings to remove Apache Commons CLI.

@osa1 please review.
`@param` and `@return` parts are not relevant anymore.