Implemented more pseudo classes.

root, empty, only-child.
Implemented more more pseudo classes.
Replaced some string literals with constants.
Rewrote CSSPredicate from scratch.
Merge branch 'fpred' into css