When an item is removed from a zlist_t, maybe some clean work should be done.

If zlist_free_fn is set, callback this function. If autofree is set, call free to the item.
Merge pull request #462 from amyangfei/patch

a memory leak bug fix