add ability to cherry-pick and revert commits from tag; rewrite to use argparse

r? @robhudson @spasovski