Document set_write_value WAttribute method
Closes #453 (closed)
Uncommented documentation, added unit test for wvalue.
I found that dim_x and dim_y are actually optional for spectrum and image attribute, and it works without them. So I changed docu accordingly