tomd: better naming for the perm gen component
tomd: move Andrew's memory usage component from TIM Ideas Equities into Tucker, and give it some unit tests along the way