Improve OO and remove code smell, hdfs layer.  Mend HDFS tests.
Revert changes in hdfs.py.
Fix merge issues in _hdfs_test.
Merge pull request #119 from spotify/lallea/testability

Improve OO and remove code smell, hdfs layer.  Mend HDFS tests.