Use optparse-applicative instead of cmdArgs

optparse-applicative has a nicer API and generates better help and error
messages.