web_services: expose object counters in server stats
web_services: expose object counters in server stats

Interestingly sys.getrefcount(classobj) will report the number of objects
from classobj that are allocated in python's memory.
Use this trick to report on some highly suspect classes of memory leaks.

xrg/openerp-server,xrg/openerp-server