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
I think this is wrong. We need to replace output file extension file `.pdf`.