Update option parsing to work with latest optparse-applictive.

* Rework option parsing code.
* Add constraint for appropriate version (>= 0.10).