Merge pull request #2 from asergi/master

Handle I/O error if /proc/mdstat doesn't exist
Misc tweaks

- PEP 257
- Unbreak tests on Python 3
- setup.py clean and improvements