Add support for passing errors through PopulateArrayFromList.

When a JSON schema includes an array of objects PopulateArrayFromList
calls a specialized PopulateItem instance for the generated object
type. When compiled with generate_error_messages=True the generated
type's Populate method expects to receive an error parameter. This
patch adds versions of the PopulateArrayFromList and PopulateItem
functions that pass through and provide that parameter.

This capability is required for a new manifest key that will include
an array of objects being added as part of issue 468955.

Review URL: https://codereview.chromium.org/1128523003

Cr-Commit-Position: refs/heads/master@{#328471}
5 files changed