doc: doxy: added doxygen comments to mm.

Documented the memory manager using Doxygen comments.

Signed-off-by: Michel Megens <dev@michelmegens.net>