Reject additional properties.

This change updates the server-side Python code to inject
{'additionalProperties': False} to schema, per bug 44454. It also
updates the validation code to tidy it up somewhat.

Change-Id: Iaba1039c0530cb2347a604ec12f180a9ac7abd0d
Merge "Reject additional properties."