Added generic key-value parser for parsing command line parameters.