Merge pull request #36 from elzaggo/develop

Added some documentation to the simulator module.
Remove dead code in hdfs_utils
Use correct `user` when testing group access to file/dir
Add test for serialize_old_style_filename

Test shows a problem with this function
Fix serialize_old_style_filename
Print command line when input_format example fails
Make "private" hdfs_file functions static
Merge pull request #37 from ilveroluca/develop

Two bug fixes and minor clean-up
Test writing unicode objects
Implement writing unicode as UTF-8 for local and jpipe back ends
whitespace
Access data to be written through the buffer interface

This allows us to avoid having a separate method for ctypes buffer
objects.  In fact, by accessing objects through the buffer interface we
can transparently write just about any byte-oriented data type.

The down side is that our writes may work where Python's standard file
object would raise a TypeError.
Fix handling of unicode strings in hdfs write function

Unicode strings need to be encoded using the system encoding before
being written. The code was instead trying to access them directy as a
python buffer, which would fail with a TypeError.
Encode unicode strings as utf-8 when writing through the C extension for HDFS

Previous implementation used the default system encoding.
Merge pull request #28 from ilveroluca/write_through_buffer

Access data to be written through the buffer interface
No dash in module names.

Dashes? We do not need no stinking dashes!
Setup default simulator counters collections.
Added examples using the local hadoop simulator.
Fixed counters handling in HadoopSimulatorLocal

Added counter support to HadoopSimulatorLocal and minor cleanings here and there.
Changes in logging.