Implement new functions options_parse() and options_usage()
and also convert version.c to use it.