I made psutil optional

I made psutil optional because it was not mentioned in your dependencies and more importantly I cannot use it on Mac OSX because psutil.IOPRIO_CLASS_IDLE is not supported.

Also, I fixed the tests to run on OSX