wattrset return value

wattrset didn't conform to the specs, it would return the value of the new attributes. It now returns ERR upon failure (win == null) and OK otherwise.