fix(ngModel): test & update correct model when running $validate

If `$validate` is invoked when the model is already invalid, `$validate` should pass `$$invalidModelValue` to the validators, not `$modelValue`. More over, if the model has become valid, the previously invalid model should be assigned to `$modelValue`. Lastly, in case the model has become invalid, the previously valid model should be assigned to `$$invalidModelValue`.

Closes #7836
just as a quick note, this is less code if you say `scope.$apply("max = 1")`, and easier to read. I wouldn't worry about assignment expressions being removed from the grammar, that's not going to happen.