removed None path tests
jpype backend changed to raise ValueError on an empty path
Formatting
More work on hdfs_file
jpype backend: fixed hdfs file write
jpype backend: {p,}read_chunk changed to support bytearrays
pread in local_file enforces read pos >= 0
Assert seek past end of file raises IOError
Read entire file contents when requested n. bytes < 0
Raise IOError on pos < 0 in hdfs_file.seek, like a Python file
Raise on error in hdfsTell and hdfsSeek
Revert "Read entire file contents when requested n. bytes < 0"

This reverts commit 605b679c8e75b24086651db952a19c1be3641093.
Reintroduce at the Python level the logic to read to EOF when nbytes < 0
Revise write and remove write_chunk in C extension

This commit unifies the implementation of `write` and `write_chunk`
while maintaining the same functionality and interface at the Python
layer.
Handle errors in hdfs flush()
jpype backend: chown changed to a no-op if user & group are null
jpype backend: changed get_capacity to raise RuntimeError on a local fs
jpype backend: changed get_hosts to raise ValueError on negative start/length
Clean up of libhdfs src management.

Simplification in the libhdfs src directory structure and relative
changes in setup.py
Fixed #24.

It was an upstream error in hdfs.c (hdfsListDirectory), errno is left in
an undefined state if everything goes well. This was not a problem until
we decided to be very thorough error checkers.