Added support of max_rss ala reload_on_rss of uwsgi

To be honest i'm not really sure of what i'm doing. Especially concerning logging and notify_event.
I also added a fix concerning some processes that were not recognized as zombie but were kind of stopped.