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
Merge pull request #22 from ilveroluca/develop

Complete error checking in hdfs_file.cc
Merge pull request #23 from simleo/fix_jpype_backend_21

Fix jpype backend