Fixed slow agg in Advanced DT; added timing/R code

I found the source of the slowdown in my Pandas aggregation function.
Fixed that, so things are much faster. ~1 s for all operations and
plotting.

Added a timing section and the r2py section, so that things could be
compared directly.