improve unit test to check for another edge case re:breaking ties
weight single class selectors based on their distance from the target element since they all have the same specificity value.
Merge pull request #573 from amro/fix_selector_weight

Properly order single single class selectors and add a test