webadmin: Set validity in KeyValueModel

For consistence with other models, set the validity of the model
according to the result of the validation.

Change-Id: Iac2e650185d7fe963239a4ca8693463064b1d6cf
Signed-off-by: Lior Vernia <lvernia@redhat.com>