Fix param stashing for whole devices

This PR fixes exception raising when one wants to `stash` a whole device and it has some read-only parameters.
As a side effect, we have a new property `ParameterValue.writable`.