stats: get rid of the convoluted 'database' code.
-rw-r--r-- 82 .hgignore
-rw-r--r-- 1056 .hgtags
-rw-r--r-- 2155 AUTHORS
-rw-r--r-- 1504 LICENSE
-rw-r--r-- 1558 README
-rw-r--r-- 5092 RELEASE_NOTES
-rw-r--r-- 32630 SConstruct
drwxr-xr-x - build_opts
drwxr-xr-x - configs
drwxr-xr-x - ext
drwxr-xr-x - src
drwxr-xr-x - tests
drwxr-xr-x - util