Krun options

**please review**

* use JCommander for krun
* clean up krun frontend to be more generic
* fix some hacky behavior in some of the options
is it possible to make this line and similarly long ones follow style guidelines?