Fix issue with pseudo selector replacement failure.

This is to fix the issue that I 
I added a new css rule to the tests:
```css
ul li a:active {
    color:red;
}
```
And changed the call to remove pseudo selectors from the css rule to be agnostic of the actual pseudo condition:

```javascript
query = rule.replace(/:[\w]*/g,'')
```

Changed the tests to expect a new matching rule. **All green**

Cleaned up extra spaces at ends of line.