Drop obsolete code

* drop obsolete code for psutil < 0.4.1 (already not supported)
* some general code cleaning