Add the key_value_pairs_to_dict() method, which takes a list of key=value string pairs and generates a dictionary from that. Code is refactored to use this method. Change-Id: Ie4ada3354ff0afa66398804a715d09dd05695393