Implements attribute matching rules
Fixes and adds more attribute selector test cases
0.13