Track memory usage. Add new CMake option TRACK_MEMORY_USAGE (It is ON by default).

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>