Moved the previous rubymem stats print feature to ruby System so that ruby stats are printed on simulation exit.