move common .h file in common directory, remove mem_block_t
move common .h file in common directory, remove unused files, remove mem_block_t that is never used in a different way than a simple heap buffer
@Cedric.Roux you are assigned to remove mem_block in a task list, i'm assigned to move common code in code directory. I made this MR as a step in these tasks