Added error messages for additionalProperties and additionalItems.
Minor code documentation fixes.