smalloc: track active number/size of smallocs

Two new APIs are introduced:

smalloc.count(): The number of object that are alive, that have been
allocated through smalloc.

smalloc.size(): The total byte size of live allocated object.


Still needs some cleanup, but basic idea is there.