Remove duplicate common options

Common knownOpts are removed from options file. They are loaded from common/options.ts file, so there's no need to write them in two different places. Add tests for shorthands options and incorrect type of value - when the option is Boolean, passing string to it should cause process exit.