make CSSParser more like a real class
various changesets fixes, better diff handling