fix exception reporting in ktest ( fixes #485, #407 and probably others )
don't fill filename and location arguments for KException
add --debug parameter to ktest and print stack traces only when that's used
add a line of documentation
replace some strings with constants for uniformity
check for --debug parameter when CLI parsing failed
Merge pull request #522 from osa1/more-ktest-issues

fix exception reporting in ktest