The Mid-Infrared Color-Luminosity Relation and the Local 12 Micron Luminosity Function