switch optimist for yargs

optimist is no longer maintained but the yargs fork is.

changed command line options for apply patches and added some neat
help text of them
bump version