Limit QuickView to literal color names in some languages

For #6836.
Limits QuickView to only literal color names in JS (including JSON), PHP and CoffeeScript.
Includes Unit tests and one new test file.
Ok. I was hoping to make the loop & params a little cleaner, but that's more efficient, so I'm good with it.