Refactoring common types from command line parsing.
Update Cargo config (for fix in docopt 0.6.3).