----------------------------------------------------------------
* complete rewrite of ggplot code base
* id/grouping completely rewritten so that automatically grouped when any of
the aesthetics is a categorical variable.This behaviour is defined in the
Grammar of Graphics, and makes things like qplot(wt, data=mtcars,
geom="density", colour=factor(cyl)) work nicely