clean up common_python.c, common.h, fix size_t format specifiers
new mem_list_new(), mem_list_remove(), mem_check_ptr()

- update mem_alloc_mem(), mem_free_mem()