Fixed resolving of keywords so they're easily usable as pseudo-selectors. Fixed :AND.
Fixed bad func refs, added attr comparators, pseudo selectors with arg.