Integrate HDFS support

This PR integrates HDFS support into SNAP. Compiles under both Linux and Windows.