writing attribute arrays works
attrdir now works as expected

had to change napi5.c to convert scalar data to rank=1 dim[0]=1
as done for getinfo
accommodate conversion of 0d (scalar) attributes to rank=1 dim[0]=1
implement reading (most common) numercial attribute arrays

for the moment arrys read back to Java are flat (1D)

fix logic error that could lead to memory corruption when iterating through attributes