Add support for psuedoelements/classes.
Code cleanliness fixes.
Switch to new namespace for consistency with other modules like css-syntax.
Draft alternate API.