Refactor map_color()
Refactor map_color()

This refactors map_color() so that it returns a dictionary, instead
of the callers (of that method) doing that work.

Change-Id: I55a808d889fd3818c1f262dcab7af9ffa8c6e557

openstack/ironic,devananda/ironic,dims/ironic,NaohiroTamura/ironic,pshchelo/ironic,redhat-openstack/ironic,SauloAislan/ironic,SauloAislan/ironic,hpproliant/ironic,bacaldwell/ironic,dims/ironic,openstack/ironic,naterh/ironic,ionutbalutoiu/ironic,NaohiroTamura/ironic,bacaldwell/ironic,ionutbalutoiu/ironic,pshchelo/ironic