Add memcount.lua for keeping track of memory usage/regressions