PEP8
Add tests for gh-371 (attributes with embedded nulls
Fixed silent truncation of unicode attributes (closes #371)
Represent empty strings as zero sized HDF5 attributes
Restore compatibility with PyTables <= 3.1.1 (empty str attribure reading in py3k)
Minor cleanup