Migrate to yargs from optimist. Fixes #90