Test fails in color.js

I started some refactoring and ran grunt test on dev. I noticed a few failures in color.js.

This bug is against d7d8d8b5f86791d226c1b1be56fccb21ac121f9d

A few notes:

1. DOM image nodes must be given a chance to load their src file. So we want to check them in the ```onload``` event. 
1. As I was making this change, I realized that a single element can fail or pass several checks in color.js. We needed a way to indicate in the test file which case types the element triggered and then the expected result for that type.
1. Thus, I gave each type an ID and a distinct message about its passing or failing state. Now an element can accrue many color test cases. 
1. I also had to go back to the well and improved(?) ```components.resolveExpectations``` to accept both a selector and a Case ID. Now this function is sufficiently complex to warrant a refactoring, so I logged #224.

@attiks, I'd love a review to make sure I'm not breaking anything!