Make updateWellControls() update well variables, too.

Formerly only the control was changed. Now both well state and primary variables
will be modified to match control targets that were switched to (bhp or rates).
Use v.data() instead of &v[0].
Merge pull request #124 from atgeirr/well-variable-updating

Changed well variable updating