Replace psutil methods deprecated on v2.0.0

- Replaced deprecated psutil.get_memory_info() by
psutil.memory_info()
Added backward compatibility for psutil < 2.0.0
Merge pull request #83 from trein/master

Replaced psutil methods deprecated on v2.0.0